Creating stacked panels using the AccordionPanel component
The AccordionPanel component is a container component with vertically stacked panels.
A basic AccordionPanel can be created as follows:
<p:accordionPanel> <p:tab title="PrimeFaces"> <h:outputText value="PrimeFaces is an open source JSF component library with 100+ Rich UI Components support. It has built-in Ajax support based on standard JSF 2.0 Ajax APIs." /> </p:tab> <p:tab title="JSF"> <h:outputText value="JavaServer Faces is a Java specification for building component-based user interfaces for web applications. It was formalized as a standard through the Java Community Process and is part of the Java Platform, Enterprise Edition." /> </p:tab> <p:tab title="JavaEE"> <h:outputText value="Java Platform, Enterprise Edition (Java EE) is the standard in community-driven enterprise software. Java EE is developed...