| java.lang.Object org.araneaframework.jsp.util.AutomaticFormElementUtil
Method Summary | |
public static void | setFormElementDefaultDisplayTag(FormElement element) Assigns the default editable (aka input) tags to given form element. | public static void | setFormElementDefaultDisplayTags(FormWidget form) Assigns the default display (aka read-only) tags to all of the elements of the form. | public static void | setFormElementDefaultEditableTag(FormElement element) Assigns the default editable (aka input) tags to given form element. | public static void | setFormElementDefaultEditableTags(FormWidget form) Assigns the default editable (aka input) tags to all of the elements of the form. | public static void | setFormElementTag(FormElement formElement, String tagName, Map tagAttributes) Associates
FormElement with a JSP tag that
AutomaticTagFormElementTag will use
for actual rendering of the
FormElement . | public static void | setFormElementTag(FormWidget form, String formElementId, String tagName, Map tagAttributes) Assigns a tag to the specified element. | public static void | setFormElementTag(FormElement formElement, String tagName) Assigns an attributeless tag to the specified
FormElement . | public static void | setFormElementTag(FormWidget form, String formElementId, String tagName) Assigns an attributeless tag to the specified to the
FormElement that
belongs to form and has id formElementId . | public static void | setFormElementTag(FormElement formElement, String tagName, TagAttr[] attributePairs) Assigns specified tag and attributes to the
FormElement . | public static void | setFormElementTag(FormWidget form, String formElementId, String tagName, TagAttr[] attributePairs) Assigns tag with specified attributes to the specified to the
FormElement that
belongs to form and has id formElementId . | public static void | setFormElementViewSelector(FormElement formElement, FormElementViewSelector viewSelector) Assigns a
FormElementViewSelector viewSelector to the specified
FormElement . | public static void | setFormElementViewSelector(FormWidget form, String formElementId, FormElementViewSelector viewSelector) Assigns a
FormElementViewSelector viewSelector to the
FormElement that
belongs to form and has id formElementId . |
CONTROLS_TO_DISPLAY_TAGS | final public static Map CONTROLS_TO_DISPLAY_TAGS(Code) | | |
CONTROLS_TO_EDITABLE_TAGS | final public static Map CONTROLS_TO_EDITABLE_TAGS(Code) | | |
setFormElementDefaultDisplayTag | public static void setFormElementDefaultDisplayTag(FormElement element)(Code) | | Assigns the default editable (aka input) tags to given form element.
since: 1.0.7 |
setFormElementDefaultDisplayTags | public static void setFormElementDefaultDisplayTags(FormWidget form)(Code) | | Assigns the default display (aka read-only) tags to all of the elements of the form.
Parameters: form - parent form or composite element. |
setFormElementDefaultEditableTag | public static void setFormElementDefaultEditableTag(FormElement element)(Code) | | Assigns the default editable (aka input) tags to given form element.
since: 1.0.7 |
setFormElementDefaultEditableTags | public static void setFormElementDefaultEditableTags(FormWidget form)(Code) | | Assigns the default editable (aka input) tags to all of the elements of the form.
Parameters: form - parent form or composite element. |
setFormElementTag | public static void setFormElementTag(FormElement formElement, String tagName, Map tagAttributes)(Code) | | Associates
FormElement with a JSP tag that
AutomaticTagFormElementTag will use
for actual rendering of the
FormElement .
Parameters: formElement - Parameters: tagName - name of the tag, without any namespace Parameters: tagAttributes - Map <attributeName, attributeValue> |
setFormElementTag | public static void setFormElementTag(FormWidget form, String formElementId, String tagName, Map tagAttributes)(Code) | | Assigns a tag to the specified element.
Parameters: form - parent form or composite element. Parameters: formElementId - id of the simple element. Parameters: tagName - name of the tag that will be used to render the element. Parameters: tagAttributes - tag custom attributes. |
setFormElementTag | public static void setFormElementTag(FormElement formElement, String tagName)(Code) | | Assigns an attributeless tag to the specified
FormElement .
Parameters: formElement - id of the simple element. Parameters: tagName - name of the tag that will be used to render the element, without any namespace. |
setFormElementTag | public static void setFormElementTag(FormWidget form, String formElementId, String tagName)(Code) | | Assigns an attributeless tag to the specified to the
FormElement that
belongs to form and has id formElementId .
Parameters: form - parent form or composite element. Parameters: formElementId - id of the simple element. Parameters: tagName - name of the tag that will be used to render the element, without any namespace. |
setFormElementTag | public static void setFormElementTag(FormElement formElement, String tagName, TagAttr[] attributePairs)(Code) | | Assigns specified tag and attributes to the
FormElement .
Parameters: formElement - Parameters: tagName - name of the tag that will be used to render the element, without any namespace Parameters: attributePairs - tag attributes. |
setFormElementTag | public static void setFormElementTag(FormWidget form, String formElementId, String tagName, TagAttr[] attributePairs)(Code) | | Assigns tag with specified attributes to the specified to the
FormElement that
belongs to form and has id formElementId .
Parameters: form - parent FormWidget Parameters: formElementId - id of the form element Parameters: tagName - name of the tag that will be used to render the element, without any namespace Parameters: attributePairs - tag attributes. |
|
|