Class CommonWidgetModels.Parameter

java.lang.Object
org.apache.ofbiz.widget.model.CommonWidgetModels.Parameter
Enclosing class:
CommonWidgetModels

public static class CommonWidgetModels.Parameter extends Object
Models the <parameter> element.
See Also:
  • widget-form.xsd
  • Constructor Details

    • Parameter

      public Parameter(Element element)
    • Parameter

      public Parameter(String paramName, String paramValue, boolean isField)
  • Method Details

    • getFromField

      public FlexibleMapAccessor<Object> getFromField()
      Gets from field.
      Returns:
      the from field
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • getValue

      public FlexibleStringExpander getValue()
      Gets value.
      Returns:
      the value
    • getValue

      public String getValue(Map<String,Object> context)
      Gets value.
      Parameters:
      context - the context
      Returns:
      the value