O'Reilly logo

PrimeFaces Beginner's Guide by K. Siva Prasad Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required