java.lang.Object | |
↳ | org.apache.myfaces.tobago.util.ComponentUtils |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Class[] | ACTION_ARGS | ||||||||||
Class[] | ACTION_LISTENER_ARGS | ||||||||||
String | DATA_ATTRIBUTES_KEY | PRELIMINARY - SUBJECT TO CHANGE Name of the map for data attributes in components. | |||||||||
String | LIST_SEPARATOR_CHARS | ||||||||||
String | SUB_SEPARATOR | ||||||||||
Class[] | VALIDATOR_ARGS | ||||||||||
Class[] | VALUE_CHANGE_LISTENER_ARGS |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
No replacement.
| |||||||||||
Looks for the attribute "for" of the component.
| |||||||||||
Looks for the attribute "for" in the component.
| |||||||||||
The search depends on the number of colons in the relativeId:
| |||||||||||
Searches the component tree beneath the component and return the first component matching the type.
| |||||||||||
Find all sub forms of a component, and collects it.
| |||||||||||
This method is deprecated.
since 1.5
| |||||||||||
Checks if the Component has a label facet and if not creates one with the label attribute.
| |||||||||||
PRELIMINARY - SUBJECT TO CHANGE
Adding a data attribute to the component.
| |||||||||||
PRELIMINARY - SUBJECT TO CHANGE
Adding a data attribute to the component.
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
This method is deprecated.
Please define a
Markup and set it to the component with
setMarkup(Markup) before the rendering phase.
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
This method is deprecated.
since 1.5.0
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
PRELIMINARY - SUBJECT TO CHANGE Name of the map for data attributes in components. New in JSF 2.2.
This method is deprecated.
No replacement.
Looks for the attribute "for" of the component. In case that the value is equals to "@auto" the children of the parent will be checked if they are a UIInput. The "id" of the first one will be used to reset the "for" attribute of the component.
Looks for the attribute "for" of the component. In case that the value is equals to "@auto" the children of the parent will be checked if they are of the type of the parameter clazz. The "id" of the first one will be used to reset the "for" attribute of the component.
Looks for the attribute "for" in the component. If there is any search for the component which is referenced by the "for" attribute, and return their clientId. If there is no "for" attribute, return the "clientId" of the parent (if it has a parent). This is useful for labels.
The search depends on the number of colons in the relativeId:
Searches the component tree beneath the component and return the first component matching the type.
Find all sub forms of a component, and collects it. It does not find sub forms of sub forms.
This method is deprecated.
since 1.5
Checks if the Component has a label facet and if not creates one with the label attribute. Todo: check if this method should be set to deprecated.
PRELIMINARY - SUBJECT TO CHANGE Adding a data attribute to the component. The name should not start with "data-", e. g. "tobago-foo" or "bar"
PRELIMINARY - SUBJECT TO CHANGE Adding a data attribute to the component. The name must start with "data-", e. g. "data-tobago-foo" or "data-bar"
This method is deprecated.
since 1.5.0
This method is deprecated.
since 1.5.0
This method is deprecated.
since 1.5.0
This method is deprecated.
since 1.5.0
This method is deprecated.
since 1.5.0
This method is deprecated.
Please define a Markup
and set it to the component with
setMarkup(Markup)
before the rendering phase.
This method is deprecated.
since 1.5.0
This method is deprecated.
since 1.5.0
This method is deprecated.
since 1.5.0