org.apache.myfaces.custom.panelstack
Class HtmlPanelStack
HtmlPanelGroup
org.apache.myfaces.custom.panelstack.HtmlPanelStack
public class HtmlPanelStack
extends HtmlPanelGroup
Manage a stack of JSF components and allow for one child component to be choosen for rendering. The behaviour
is similar to the CardLayout of Java Swing. Property selectedPanel
defines the id of the child
to be rendered. If no child panel is selected or if the selected panel can not be found the first child is rendered.
$Revision: 169651 $ $Date: 2005-05-11 18:14:23 +0200 (Wed, 11 May 2005) $
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
COMPONENT_TYPE
public static final String COMPONENT_TYPE
HtmlPanelStack
public HtmlPanelStack()
getFamily
public String getFamily()
getSelectedPanel
public String getSelectedPanel()
restoreState
public void restoreState(FacesContext context,
Object state)
saveState
public Object saveState(FacesContext context)
setSelectedPanel
public void setSelectedPanel(String selectedPanel)