You see the Properties window for a Tab Set component when you select the component on a page you are editing in the Visual Designer, after you have added the component to the page.
This JavaServer Faces 1.2 component has the following properties.
General
id. Type: String
The name of the component in the page bean and the JSP file. 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 TabSet object.
Appearance
lite.Type: boolean
If selected, changes the style to make the tab set appear visually less heavy.
You must also select the mini property to complete the effect.
mini. Type: boolean
If selected, makes the tabs and their labels smaller than normal.
If the lite property is also selected, the tabs are even smaller
and the overall effect is visually less heavy.
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.
Data
selected. Type: Object
Indicates the ID of the selected tab. If you click a tab in the Visual Designer, it becomes the selected tab. This property can be useful for a tab set used as a page navigator. With the current page's tab selected, the tab is an indicator of which page the user is on. Also, the tab cannot be used as a link and has the same background color as the page.
Behavior
visible. Type: boolean
Indicates whether or not the component can be seen by the user on the rendered HTML page. This property is selected by default. If you deselect this property, the component's HTML code is rendered on the page, but the component is not visible in the browser because it is hidden by a style setting. Because the HTML code is rendered, the component can still be processed on form submissions, and users who view source in the browser can see the HTML code. In addition, your web application can use client-side JavaScript to show or hide the component.
If you need to completely hide the component, for example, because it contains sensitive information that certain users should not see, deselect the rendered property.
Advanced
actionListenerExpression. Type: MethodExpression
A method expression representing an action listener method that is notified when this component is activated by the user. The value must be a valid JSF method expression, such as #{Page1.action_method}, and it must evaluate to the name of a public method that takes an ActionEvent parameter with a return type of void.
immediate. Type: boolean
This property affects how the tab set behaves when its tabs contain input components that have validators. Do not set this property for a tab unless you also set it for the tab set. See the note at the end of Tab Set Component, which describes the interactions between setting this property for a tab and the tab set. In general, as for other components, if this property is selected, when the user activates the component, the code in the page bean is executed before the validation, updating of model values, and so on. Essentially, code execution happens right away on the server, which then returns the page.
rendered. Type: boolean
If selected, the tab is to be rendered and processed on any subsequent page submission. If not selected, the tab does not appear on the page at all, not even as a hidden component.