Accordion Menu is a simple menu that extends and shrinks when a sub menu is selected inside it.
component-family | net.sf.yui4jsf |
renderer-type | net.sf.yui4jsf.component.AccordionMenuRenderer |
component-class | net.sf.yui4jsf.component.accordionmenu.AccordionMenu |
renderer-class | net.sf.yui4jsf.component.accordionmenu.AccordionMenuRenderer |
tag-class | net.sf.yui4jsf.component.accordionmenu.AccordionMenuTag |
<yui:accordionMenu> <yui:tab title="First Menu"> any components </yui:tab> <yui:tab title="Second Menu"> any components </yui:tab> <yui:tab title="Any Other Menu"> any components </yui:tab> </yui:accordionMenu>
<yui:accordionMenu>
Standard Attributes - id, rendered, binding
animationDuration - Duration of the accordion transition effect in terms of milliseconds
selectedTabIndex - integer defining which tab is selected by default
rootClass - Style class for the main div container
headerClass - Style class for the headers
contentClass - Style class for the contents