Package org.apache.ofbiz.widget.model
Class ModelFormField.FormField
java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.FormField
- Enclosing class:
- ModelFormField
Models the <include-form> 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.Gets form location.getFormLocation
(Map<String, Object> context) Gets form location.Gets form name.getFormName
(Map<String, Object> context) Gets form name.getModelForm
(Map<String, Object> context) Gets model form.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
-
FormField
-
-
Method Details
-
accept
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object. -
getFormName
Gets form name.- Parameters:
context
- the context- Returns:
- the form name
-
getFormName
Gets form name.- Returns:
- the form name
-
getFormLocation
Gets form location.- Parameters:
context
- the context- Returns:
- the form location
-
getFormLocation
Gets form location.- Returns:
- the form location
-
renderFieldString
public void renderFieldString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOException- Specified by:
renderFieldString
in classFieldInfo
- Throws:
IOException
-
getModelForm
Gets model form.- Parameters:
context
- the context- Returns:
- the model form
-