Class ModelFormField.SubmitField

java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.SubmitField
Enclosing class:
ModelFormField

public static class ModelFormField.SubmitField extends FieldInfo
Models the <submit> element.
See Also:
  • widget-form.xsd
  • Constructor Details

  • Method Details

    • accept

      public void accept(ModelFieldVisitor visitor) throws Exception
      Specified by:
      accept in class FieldInfo
      Throws:
      Exception
    • copy

      public FieldInfo copy(ModelFormField modelFormField)
      Description copied from class: FieldInfo
      Returns a new instance of this object.
      Specified by:
      copy in class FieldInfo
    • getBackgroundSubmitRefreshTarget

      public String getBackgroundSubmitRefreshTarget(Map<String,Object> context)
      Gets background submit refresh target.
      Parameters:
      context - the context
      Returns:
      the background submit refresh target
    • getBackgroundSubmitRefreshTargetExdr

      public FlexibleStringExpander getBackgroundSubmitRefreshTargetExdr()
      Gets background submit refresh target exdr.
      Returns:
      the background submit refresh target exdr
    • getButtonType

      public String getButtonType()
      Gets button type.
      Returns:
      the button type
    • getConfirmation

      public String getConfirmation(Map<String,Object> context)
      Gets confirmation.
      Parameters:
      context - the context
      Returns:
      the confirmation
    • getConfirmationMsg

      public String getConfirmationMsg(Map<String,Object> context)
      Gets confirmation msg.
      Parameters:
      context - the context
      Returns:
      the confirmation msg
    • getConfirmationMsgExdr

      public FlexibleStringExpander getConfirmationMsgExdr()
      Gets confirmation msg exdr.
      Returns:
      the confirmation msg exdr
    • getImageLocation

      public FlexibleStringExpander getImageLocation()
      Gets image location.
      Returns:
      the image location
    • getImageLocation

      public String getImageLocation(Map<String,Object> context)
      Gets image location.
      Parameters:
      context - the context
      Returns:
      the image location
    • getRequestConfirmation

      public boolean getRequestConfirmation()
      Gets request confirmation.
      Returns:
      the request confirmation
    • getPropagateCallback

      public boolean getPropagateCallback()
      Gets keep callback.
      Returns:
    • renderFieldString

      public void renderFieldString(Appendable writer, Map<String,Object> context, FormStringRenderer formStringRenderer) throws IOException
      Specified by:
      renderFieldString in class FieldInfo
      Throws:
      IOException