alloy:accordion

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

Data Model Usage

Since it extends UIData, it can render tabs dynamically when the value attribute is bound via EL to a model bean property (which is wrapped implicitly by JSF with a DataModel). The var attribute can be used to introduce a variable name into the EL when iterating over the model.

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