Accordion Component
Description
This component allows you create a jquery ui accordion. Since Tapestry5-jQuery 3.0.2, a new implementation
of this component has be developed, in order to avoid using JQueryAccordionData-type parameter. You can
still use it, but this parameter and the JQueryAccordionData class will be removed in a next release.
If you use the new implementation (with the panels parameter), Tapestry5-jQuery will look for the label
in an associated bundle, with the name of the panel as a key. If the message does not exist
Tapestry5-jQuery will provide a default value : the name of the panel, with capital letters and spaces.
Links
Name | Required | Java Type | Default Prefix | Default Value | Description |
---|---|---|---|---|---|
panels | false | String | literal | The comma-separated list of panels name | |
listOfElements | true | ArrayList of JQueryAccordionData | prop | button | DEPRECATED! A list of JQueryAccordionData (object containing the title of the tab and the name of the block that has the content). |
activeElementId | true | Int | prop | The number of the accordion tab to activate when the page is displayed on the client. | |
params | false | JSONObject | prop | The Accordion parameters (please refer to jquery-ui documentation) |