You see the Properties window for an Accordion Component when you select the component on a page that you are editing in the Visual Designer. Most of the component's properties are both JSP attributes and properties of the Accordion Java component in the page bean.
This JavaServer Faces 1.2 component has the following properties.
General
id. Type: String
The name of the Accordion Component in the page bean and the JSP file.
multipleSelect. Type: String
Returns true if multiple tabs can be selected at the same time. By default this is set to false and only one accordion tab can be selected at any given time. Note that when only a single tab is selected the accordion will not supply expand/collapse icons even if the application developer provides facets for these.
refreshIcon. Type: Boolean Should be set to true if the accordion container is to display a refresh icon. A refresh icon would generally be provided on the accordion header. When clicked it would refresh the accordion and its tabs asynchronously.
toggleControls. Type: Boolean Should be set to true if the accordion container should display expandAll and collapseAll control features. Note that this makes sense only in the case wehere multipleSelect has been set to true. In the case of single select accordions only one tab can be open at any given time.
visible. Type: Boolean Use the visible attribute to indicate whether the component should be viewable by the user in the rendered HTML page. If set to false, the HTML code for the component is present in the page, but the component is hidden with style attributes. By default, visible is set to true, so HTML for the component HTML is included and visible to the user. If the component is not visible, it can still be processed on subsequent form submissions because the HTML is present.
Appearance
htmlTemplate. Type: String
Alternative HTML template to be used by this component.
style. Type: String
Cascading Style Sheet rules (CSS level 2) to be applied to the component. For example:
position: absolute; left: 288px; top: 312px
You can enter values directly or click the ellipsis (...) button to use the Style Editor.
This property overrides any settings in the theme or the project CSS file for this component. If a style specified in this property does not appear to take effect, it is because an area of the component is obscured by a child component that has different style settings.
For a list of CSS2 style attributes, see the web page at
styleClass. Type: String A space-separated list of CSS2 style classes to be applied when the component is rendered. The style classes must be defined in the project's style sheet or in the theme's CSS file. If you click the ellipsis button (...), you see a list of all styles you can add to this property. For information on adding CSS classes and rules to the project's cascading style sheet, see CSS Editor.
See the note above under the style property description for an explanation of why a class added to this property might appear to have no effect on the component.
If you add a CSS style class from the current theme to your project CSS file and you redefine the style class, the change affects all components that use this style class. However, you can add your own style classes to the project CSS file that redefine the default style classes, and then when you add them to this property, the changes affect only this instance of this component.
Accessibility
tabIndex. Type: String
Position of this element is in the tabbing order of the current document.
Advanced
rendered. Type: Boolean
If selected, the component is to be rendered and processed on any subsequent page submission. If not selected, the component does not appear on the page at all, not even as a hidden component. If you need the component to be hidden but still processed when the page is submitted, deselect the visible property instead of this property.
selectedTabs. Type: TabContent
An array of selected tabs. In some cases only a single tab can be selected in which case the array would contain just one tab.