alloy:accordion

Accordion is a UIData (iterator) component that renders child tabs either statically or dynamically.

Selected Tab Usage

The selectedIndex attribute is a zero-based integer representing the selected tab. The client-side state of the tab is preserved when a form is submitted.
The default value of selectedIndex=2

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20