Alloy Showcase
alloy:accordion
Accordion is a UIData (iterator) component that renders child tabs either statically or dynamically.Server Events Usage
Specifying the f:ajax child tag with event=tabCollapse
or tabExpand
will broadcast the server-side TabCollapseEvent or TabExpandEvent respectively. Listening to the event is accomplished by specifying a backing-bean method via the f:ajax
listener attribute.
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