A component that only renders the first child either by index or the first
visible one..
Attributes |
Name | Required | Request-time | Type | Description |
type | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The filter type: first|index. first: the first list value should evaluate to a Number
or a value that can be parsed into an integer. index: A collection,
array or comma-separated list of numbers. (Default: "first") |
value | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Integer )
| The value valid for the type. If this evaluates to null, the first child will
be rendered.
If the type is "first", this value will be ignored, as "first" always
renders the first rendered item.
If the type is "index", the value must be a number. |
id | false | true | java.lang.String | Get a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer
component. The id is not necessarily unique across all components in the current view. |
rendered | false | false | javax.el.ValueExpression
(must evaluate to boolean )
| A boolean value that indicates whether this component should be rendered. Default value: true. |
binding | false | false | javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
| Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression. |