JSF HTML Tags
The JSF HTML tags provide access to components that relate specifically to the HTML rendering model, including all of the standard HTML input components.
Several tag attributes are shared by all of the HTML tags or all of the tags in a particular category, such as the data input tags.
Table B-19. Shared tag attributes
Attribute | Description | Supported by |
---|---|---|
binding
| A JSF EL expression identifying a backing bean property to bind this component to. | All tags (but not relevant for some) |
converter
| The name of a data converter instance associated with this component. | Input and output tags |
id
| A custom identifier for this component, allowing access to the underlying HTML element via JavaScript. | All tags |
rendered
| Boolean expression indicating whether this component and its children should be rendered. | All tags |
required
| A Boolean expression indicating whether data must be entered into the component in order to perform an action on the surrounding form. | Input tags |
styleClass
| Specifies the name of the CSS style to be applied to the generated element. Multiple styles can be specified via a comma-separated list. | All but |
validator
| The name of a validator associated with this component. | Input tags |
value
| A JSF EL expression indicating the current value of this component. Used for values that are not manipulated by the user. For user-entered data, the binding attribute should be used instead. | Input, output, and control tags |
valueChangeListener
| JSF EL expression identifying ... |
Get Java Enterprise in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.