Package org.apache.ofbiz.widget.model
Class ModelFormField.LookupField
java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.TextField
org.apache.ofbiz.widget.model.ModelFormField.LookupField
- Enclosing class:
- ModelFormField
Models the <lookup> 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
ConstructorDescriptionLookupField
(int fieldSource, ModelFormField modelFormField) LookupField
(ModelFormField.LookupField original, ModelFormField modelFormField) LookupField
(Element element, ModelFormField modelFormField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.Gets description field name.Gets fade background.Gets form name.getFormName
(Map<String, Object> context) Gets form name.boolean
Gets initially collapsed.Gets lookup height.Gets lookup position.Gets lookup presentation.Gets lookup width.Gets show description.Gets target parameter.getTargetParameter
(Map<String, Object> context) Gets target parameter.Deprecated.Target Parameter is potentially a FlexibleStringExpander expression and should therefore be evaluated within a given context.getTargetParameterList
(Map<String, Object> context) Gets target parameter list.void
renderFieldString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Methods inherited from class org.apache.ofbiz.widget.model.ModelFormField.TextField
getClientAutocompleteField, getDefaultValue, getDefaultValue, getMask, getMaxlength, getPlaceholder, getPlaceholder, getReadonly, getSize, getSubHyperlink
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
Constructor Details
-
LookupField
-
LookupField
-
LookupField
-
-
Method Details
-
accept
- Overrides:
accept
in classModelFormField.TextField
- Throws:
Exception
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object.- Overrides:
copy
in classModelFormField.TextField
-
getDescriptionFieldName
Gets description field name.- Returns:
- the description field name
-
getFadeBackground
Gets fade background.- Returns:
- the fade background
-
getFormName
Gets form name.- Returns:
- the form name
-
getFormName
Gets form name.- Parameters:
context
- the context- Returns:
- the form name
-
getInitiallyCollapsed
public boolean getInitiallyCollapsed()Gets initially collapsed.- Returns:
- the initially collapsed
-
getLookupHeight
Gets lookup height.- Returns:
- the lookup height
-
getLookupPosition
Gets lookup position.- Returns:
- the lookup position
-
getLookupPresentation
Gets lookup presentation.- Returns:
- the lookup presentation
-
getLookupWidth
Gets lookup width.- Returns:
- the lookup width
-
getShowDescription
Gets show description.- Returns:
- the show description
-
getTargetParameter
Gets target parameter.- Returns:
- the target parameter
-
getTargetParameter
Gets target parameter.- Parameters:
context
- the context- Returns:
- the target parameter
-
getTargetParameterList
Deprecated.Target Parameter is potentially a FlexibleStringExpander expression and should therefore be evaluated within a given context.Use
getTargetParameter(Map)
instead. -
getTargetParameterList
Gets target parameter list.- Parameters:
context
- the context- Returns:
- the target parameter list
-
renderFieldString
public void renderFieldString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOException- Overrides:
renderFieldString
in classModelFormField.TextField
- Throws:
IOException
-