Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICE Components
Tag panelTab

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

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

Tag Information
Tag Class | com.icesoft.faces.component.paneltabset.PanelTabTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | false | false | `java.lang.String` | The value binding expression linking this component to a property in a backing bean
dir | false | false | `java.lang.String` | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
disabled | false | false | `java.lang.String` | Flag indicating that this element must never receive focus or be included in a subsequent submit.
enabledOnUserRole | false | false | `java.lang.String` | If user is in given role, this component will be rendered normally. If not, the component will be in disabled state.
icon | false | false | `java.lang.String` | The icon attribute sets the icon file for this panelTab component
iconAlignRight | false | false | `java.lang.String` | The icon attribute sets the icon file for this panelTab component
id | false | false | `java.lang.String` | The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
label | false | false | `java.lang.String` | Label of this tab.
labelWidth | false | false | `java.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.
labelWrap | false | false | `java.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.
lang | false | false | `java.lang.String` | Code describing the language used in the generated markup for this component.
layout | false | false | `java.lang.String` | The type of layout markup to use when rendering this group. If the value is "block" the renderer must produce an HTML "div" element. Otherwise HTML "span" element must be produced.
onclick | false | false | `java.lang.String` | No Description
ondblclick | false | false | `java.lang.String` | No Description
onkeydown | false | false | `java.lang.String` | No Description
onkeypress | false | false | `java.lang.String` | No Description
onkeyup | false | false | `java.lang.String` | No Description
onmousedown | false | false | `java.lang.String` | No Description
onmousemove | false | false | `java.lang.String` | No Description
onmouseout | false | false | `java.lang.String` | No Description
onmouseover | false | false | `java.lang.String` | No Description
onmouseup | false | false | `java.lang.String` | No Description
rendered | false | false | `java.lang.String` | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
renderedOnUserRole | false | false | `java.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.
style | false | false | `java.lang.String` | CSS style(s) to be applied when this component is rendered.
styleClass | false | false | `java.lang.String` | 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: icePnlTb 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. Btm 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. -dis 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
title | false | false | `java.lang.String` | Advisory title information about markup elements generated for this component.

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.