ICEfaces Component Suite
Tag panelTab

Renders an individual Panel Tab. Must be contained within a TabbedPane.
The label facet can be defined to the tab (e.g.)

                      <f:facet name="label">
                              <ice:outputText value="Tab 1"/>
                     <ice:outputText value="Contents"/> 

Tag Information
Tag Classcom.icesoft.faces.component.paneltabset.PanelTabTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

bindingfalsefalsejava.lang.String The value binding expression linking this component to a property in a backing bean
dirfalsefalsejava.lang.String Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
disabledfalsefalsejava.lang.String Flag indicating that this element must never receive focus or be included in a subsequent submit.
enabledOnUserRolefalsefalsejava.lang.String If user is in given role, this component will be rendered normally. If not, the component will be in disabled state.
iconfalsefalsejava.lang.String The icon attribute sets the icon file for this panelTab component
iconAlignRightfalsefalsejava.lang.String The icon attribute sets the icon file for this panelTab component
idfalsefalsejava.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
labelfalsefalsejava.lang.String Label of this tab.
labelWidthfalsefalsejava.lang.String Integer value representing the width (in pixels) of the label text. If the actual width of the text turns out to be greater than the one specified, the text will be wrapped or clipped, depending on the labelWrap attribute.
labelWrapfalsefalsejava.lang.String If this attribute is set to true, then the label text will wrap to multiple lines instead of being clipped when the width of the text is greater than the one specified by the labelWidth attribute.
langfalsefalsejava.lang.String Code describing the language used in the generated markup for this component.
onclickfalsefalsejava.lang.StringNo Description
ondblclickfalsefalsejava.lang.StringNo Description
onkeydownfalsefalsejava.lang.StringNo Description
onkeypressfalsefalsejava.lang.StringNo Description
onkeyupfalsefalsejava.lang.StringNo Description
onmousedownfalsefalsejava.lang.StringNo Description
onmousemovefalsefalsejava.lang.StringNo Description
onmouseoutfalsefalsejava.lang.StringNo Description
onmouseoverfalsefalsejava.lang.StringNo Description
onmouseupfalsefalsejava.lang.StringNo Description
renderedfalsefalsejava.lang.String Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
renderedOnUserRolefalsefalsejava.lang.String If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
stylefalsefalsejava.lang.String CSS style(s) to be applied when this component is rendered.

Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.

Defines the base class name for all style classes used in tabbed panes.

Default value for the base class name is icePnlTb. The base class name is used as a prefix for the style classes that will be applied to the elements that make up the panelTab. The default style classes are defined in the xp.css and royale.css that are included with ICEfaces.

There are several parts of the CSS class names, as they are defined in the CSS files:

The root of the class name, as set in the styleClass attribute
On / Off / Over
On: If tab is the selected one. Off: If tab is not the selected one. Over: When mouseover the tab.
If the tab is on the top, then "", else if the tab is on the bottom, then "Btm"
Lft / Mid / Rt
For the tab, which horizonal section, as left, middle, and right.
Top / Mid / Btm
For the tab, which vertical section, as top, middle, and bottom.
If the panel is enabled, then "", else if the panel is disabled, then "-dis"

Put together, the various sections are: ".{root_classname}{tab_is_On_or_Off_or_Over}{tab_on_top_or_bottom} .{horizonal_section_of_tab}{vertical_section_of_tab}{disabled}"
That means there is a matrix of classes that have to be defined for the 3 possibilities of tab_is_On_or_Off_or_Over, the 2 possibilities of tab_on_top_or_bottom, the 3 values of horizonal_section_of_tab, the 3 values of vertical_section_of_tab, and the 2 possiblities for disabled, which is 3x2x3x3x2=108 combinations.
So, given the default value of styleClass as being icePnlTb, if you want a styling for mousing over the tab, when tabs are on the bottom, for the right top side of the tab, then you would have to define this class in your CSS file: .icePnlTbOverBtm .RtTop
And if you want a styling for the currently selected tab, when tabs are on the top, for the right middle side of the tab, and the tab is disabled, then you would have to define this class in your CSS file: .icePnlTbOn .RtMid-dis

titlefalsefalsejava.lang.String Advisory title information about markup elements generated for this component.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.