panelStack


The panelStack is a container component that itself contains multiple panel groups. A single contained panel group is visible at one time, filling the area covered by the panelStack component. The panel group specified in the selectPanel attribute will be visible, with the others being hidden.

The panelStack component can be used in cases where a form region must contain several embedded panels, only one of which is visible at one time, changing dynamically depending on an application state change or user selection.

Example

The following code shows how to create a basic panelStack component:


<ice:panelStack id="stack" selectedPanel="#{textBean.selectedPanel}">

<ice:panelGroup id="panelOne">
</ice:panelGroup>

<ice:panelGroup id="panelTwo">
</ice:panelGroup>

</ice:panelStack>

Tag Summary

tag-name:
<ice:panelStack>
tag-class:
com.icesoft.faces.component.panelstack.PanelStackTag
component-class:
com.icesoft.faces.component.panelstack.PanelStack
component-type:
com.icesoft.faces.HtmlPanelStack
component-family:
javax.faces.Panel
renderer-class:
com.icesoft.faces.component.panelstack.PanelStackRenderer
renderer-type:
com.icesoft.faces.PanelStack