The Accordion Tab component is used with the Accordion component, which serves as the container and parent component for accordion tabs. You can add an Accordion Tab component to an accordion byt dragging the accorion tab from the Woodstock Composite catergory of the Palette to the Accordion component in the Visual Designer. You can also right-click the Accordion compontent and choose Add Accordion Tab.
This component is a JavaServer Faces 1.2 component. You see components that use this
version of JavaServer Faces when your project uses Java EE 5. For more information on JavaServer Faces 1.2,
see:
After adding an Accordion Tab component to an Accordion container, you can:
Select the Accordion component and edit its properties in the Accordion's Properties window. Some typical properties you might set are:
id. The name of the component. In the JSP file, this name is the value of the component's id attribute. In the page bean, this property's value is the name of the accordionTab object.
contentHeight. The height of the Accordion Tab componet. The default value is 100px.
title. The title text diplayed in the Accordion Tab component.
Right-click the Accordion component and choose one of several actions:
Property Bindings. Opens a dialog box that enables you to bind properties of the component in addition to the summary property to other objects or bean properties that update this component's properties automatically.
Add Binding Attribute. This option adds a binding attribute to the component.
Note: If you plan to script the component in Java code, you must manually add a binding attribute, which is bound using a value binding expression to a property of the backing page bean.
Remove Binding Attribute. This option removes the binding attribute from the component.
Snap to Grid. This option aligns the Accordion component along the grid lines in the Visual Designer.
Preview in Browser. See how the page renders in the default web browser for your system.