10. ICEfaces Tag Reference
Contents > ICEfaces Tag Reference > ice:panelSeries
ice:panelSeries |
|
The ice:panelSeries tag provides a mechanism for dynamically generating a series of repeating child-components within a panel. This component renders its child components in an iterative fashion similar to way the dataTable component renders data rows. However, the panelSeries component is more flexibile in that it can render a series of arbitrarily complex child components. The dataset can be defined and used by implementing the value and var attributes respectively.
Example
<ice:panelSeries value="#{backingBean.carList}" var="car">
<ice:panelGrid columns="3" headerClass="title">
<f:facet name="header">
<ice:outputText value="#{car.make}" />
</f:facet>
<p align="left">
<ice:outputLabel styleClass="label" value="Model:" for="model" />
<ice:outputText styleClass="text" id="model" value="#{car.model}" />
<br />
<ice:outputLabel styleClass="label" value="Colour:" for="colour" />
<ice:outputText styleClass="text" id="colour" value="#{car.color}" />
<br />
<ice:outputLabel styleClass="label" value="Year:" for="year" />
<ice:outputText styleClass="text" id="year" value="#{car.year}" />
</p>
</ice:panelGrid>
</ice:panelSeries>
Rendered Output
|
Tag Attributes
| binding |
Expression |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| first |
Text |
| |
| The first attribute ... |
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| rendered |
Boolean |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| rows |
Text |
| |
| The rows attribute sets the number of rows to display, starting from the row identified by the "first" attribute. If the value of the rows attribute is set to zero, all available rows in the underlying data model will be displayed. |
| style |
CSS Style |
| |
| The style attribute sets the CSS style definition to be applied to this component when it is rendered. |
| styleClass |
CSS Class |
| |
| The styleClass attribute sets the CSS class to apply to this component when it is rendered. |
| value |
Text |
| |
| The value attribute sets the current value for this component. |
| var |
Text |
| |
| The var attribute sets the name of a request-scope attribute exposing the data for each iteration over the rows in the underlying data model for this table. |
|