panelSeries


The panelSeries component 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

Render a component number of times, without any html layout.

<ice:panelSeries var="employee" value="#{employeeList.empList}">
   <h:inputText value="#{employee.image}"/>
</ice:panelSeries>

Render a group of components number of times, with the layout defined in jsf source.

<ice:panelSeries var="emp" value="#{employeeList.empList}">
   <h:panelGrid columns="3">
      <h:panelGroup>
         <h:form>
            <h:graphicImage width="100" height="100" url="images/employee/#{emp.image}.jpg"/>
            <h:outputText value="#{emp.name}"/>
            <h:inputText value="#{emp.salary}"/>
            <h:commandButton value="Calculate Net Salary" actionListener="#{emp.calculate}" disabled="#{emp.calucluated}"/>
         </h:form>
      </h:panelGroup>
   </h:panelGrid>
   <hr/>
</ice:panelSeries>
Tag Summary

tag-name:
<ice:panelSeries>
tag-class:
com.icesoft.faces.component.panelseries.PanelSeriesTag
component-class:
com.icesoft.faces.component.panelseries.PanelSeries
component-type:
com.icesoft.faces.PanelSeries
component-family:
javax.faces.Panel
renderer-class:
com.icesoft.faces.component.panelseries.PanelSeriesRenderer
renderer-type:
com.icesoft.faces.PanelSeriesRenderer