Package org.apache.ofbiz.widget.model
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
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.FieldInfo
CHECK, CONTAINER, DATE_TIME, DATEQBE, DISPLAY, DISPLAY_ENTITY, DROP_DOWN, FILE, FORM, GRID, HIDDEN, HYPERLINK, IGNORED, IMAGE, LOOKUP, MENU, module, PASSWORD, RADIO, RANGEQBE, RESET, SCREEN, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE
-
-
Constructor Summary
Constructors Constructor Description SubmitField(int fieldInfo, ModelFormField modelFormField)
SubmitField(ModelFormField modelFormField)
SubmitField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelFieldVisitor visitor)
FieldInfo
copy(ModelFormField modelFormField)
Returns a new instance of this object.java.lang.String
getBackgroundSubmitRefreshTarget(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getBackgroundSubmitRefreshTargetExdr()
java.lang.String
getButtonType()
java.lang.String
getConfirmation(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getConfirmationMsg(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getConfirmationMsgExdr()
FlexibleStringExpander
getImageLocation()
java.lang.String
getImageLocation(java.util.Map<java.lang.String,java.lang.Object> context)
boolean
getRequestConfirmation()
void
renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, FormStringRenderer formStringRenderer)
-
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
-
-
-
Constructor Detail
-
SubmitField
public SubmitField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
SubmitField
public SubmitField(int fieldInfo, ModelFormField modelFormField)
-
SubmitField
public SubmitField(ModelFormField modelFormField)
-
-
Method Detail
-
accept
public void accept(ModelFieldVisitor visitor) throws java.lang.Exception
-
copy
public FieldInfo copy(ModelFormField modelFormField)
Description copied from class:FieldInfo
Returns a new instance of this object.
-
getBackgroundSubmitRefreshTarget
public java.lang.String getBackgroundSubmitRefreshTarget(java.util.Map<java.lang.String,java.lang.Object> context)
-
getBackgroundSubmitRefreshTargetExdr
public FlexibleStringExpander getBackgroundSubmitRefreshTargetExdr()
-
getButtonType
public java.lang.String getButtonType()
-
getConfirmation
public java.lang.String getConfirmation(java.util.Map<java.lang.String,java.lang.Object> context)
-
getConfirmationMsg
public java.lang.String getConfirmationMsg(java.util.Map<java.lang.String,java.lang.Object> context)
-
getConfirmationMsgExdr
public FlexibleStringExpander getConfirmationMsgExdr()
-
getImageLocation
public FlexibleStringExpander getImageLocation()
-
getImageLocation
public java.lang.String getImageLocation(java.util.Map<java.lang.String,java.lang.Object> context)
-
getRequestConfirmation
public boolean getRequestConfirmation()
-
renderFieldString
public void renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, FormStringRenderer formStringRenderer) throws java.io.IOException
- Specified by:
renderFieldString
in classFieldInfo
- Throws:
java.io.IOException
-
-