If value is an empty string then no tag will be generated, but the child components will be rendered. This differs from setting rendered=false, which prevents child components from being rendered at all.
There is currently no facility for adding attributes to the generated html tag other than those explicitly supported by the attributes on this JSF component.
Unless otherwise specified, all attributes accept static values or EL expressions.
Attributes |
Name | Required | Request-time | Type | Description |
id | false | false | java.lang.String | The developer-assigned ID of this component. The ID must be unique within the scope of the tag's enclosing naming container (e.g. h:form or f:subview). This value must be a static value. |
binding | false | false | java.lang.String | Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression. |
rendered | false | false | java.lang.String | A boolean value that indicates whether this component should be rendered. Default value: true. |
forceId | false | false | java.lang.String | If true, this component will force the use of the specified id when rendering. |
forceIdIndex | false | false | java.lang.String | If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.) |
enabledOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered. |
visibleOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. |
value | true | false | java.lang.String | The name of the tag. For example, use h1 to generate an h1 tag. |
style | false | false | java.lang.String | The style to use for this tag. |
styleClass | false | false | java.lang.String | The class to use for this tag. |