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
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, PASSWORD, RADIO, RANGEQBE, RESET, SCREEN, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE
-
Constructor Summary
ConstructorDescriptionSubmitField
(int fieldInfo, ModelFormField modelFormField) SubmitField
(ModelFormField modelFormField) SubmitField
(Element element, ModelFormField modelFormField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.getBackgroundSubmitRefreshTarget
(Map<String, Object> context) Gets background submit refresh target.Gets background submit refresh target exdr.Gets button type.getConfirmation
(Map<String, Object> context) Gets confirmation.getConfirmationMsg
(Map<String, Object> context) Gets confirmation msg.Gets confirmation msg exdr.Gets image location.getImageLocation
(Map<String, Object> context) Gets image location.boolean
Gets keep callback.boolean
Gets request confirmation.void
renderFieldString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
Constructor Details
-
SubmitField
-
SubmitField
-
SubmitField
-
-
Method Details
-
accept
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object. -
getBackgroundSubmitRefreshTarget
Gets background submit refresh target.- Parameters:
context
- the context- Returns:
- the background submit refresh target
-
getBackgroundSubmitRefreshTargetExdr
Gets background submit refresh target exdr.- Returns:
- the background submit refresh target exdr
-
getButtonType
Gets button type.- Returns:
- the button type
-
getConfirmation
Gets confirmation.- Parameters:
context
- the context- Returns:
- the confirmation
-
getConfirmationMsg
Gets confirmation msg.- Parameters:
context
- the context- Returns:
- the confirmation msg
-
getConfirmationMsgExdr
Gets confirmation msg exdr.- Returns:
- the confirmation msg exdr
-
getImageLocation
Gets image location.- Returns:
- the image location
-
getImageLocation
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 classFieldInfo
- Throws:
IOException
-