Tag tabs

The container of tabs.

Tag Information
Tag Classorg.freehep.webutil.tabs.TabsTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

nametruetruejava.lang.StringThe name of the container. This name is used to identify the tabs container. If more than one set of tabs are present in a page, the name helps to uniquely identify the selected tab.
selectedTabValuefalsetruejava.lang.StringThe selected tab by value when the tabs are first loaded. If not provided the selected tab is by default the first one in the list.
hreffalsetruejava.lang.StringThe href to which the tabs should point to. Each tab can overwrite this value via their "href" attribute. If not provided the default href is the current page.
targetfalsetruejava.lang.StringThe target for the href attribute.
colorfalsefalsejava.lang.StringThe color of the non-selected tabs. Allowed values are HTML colors.
bkgColorfalsefalsejava.lang.StringThe page's background color over which the tabs are. This is used by the corner servlet to assign the color to the area passed the rounded corner. The default is white. Allowed values are HTML colors.
selectedColorfalsefalsejava.lang.StringThe color of the selected tab. Allowed values are HTML colors.
positionfalsefalsejava.lang.StringThe position of the tabs. Allowed values are "top" and "bottom". The default is "top". "top" tabs have the rounded corners on top and are placed on top of the selected text box (or line). "bottom" tabs are on the bottom.
addanchorfalsefalsebooleanControls if the achor should be added to the links.
marginfalsefalsejava.lang.StringThe HTML style-like margin from the selected "alignment". The default is "10px".
textstylefalsetruejava.lang.StringThe HTML style-like text style used to display the non-selected tab names. The default is "font-family: verdana, arial, sans-serif;color: black;".
selectedtextstylefalsetruejava.lang.StringThe HTML style-like text style used to display the selected tab name. The default is "font-family: verdana, arial, sans-serif;color: black;font-weight: bold;".
varfalsefalsejava.lang.StringThe name of the JSP variable in which the name of the selected tab should be stored. By default this variable has "page" scope unless otherwise specified via the "scope" attribute. The available scopes are: page, request, session, application.
scopefalsefalsejava.lang.StringThe scope of the provided "var" attribute. By default it is "page".
paramfalsefalsejava.lang.StringThe name of the parameter containing the name of the selected tab. This parameter is passed as part of the response when a tab is selected.
showlinefalsefalsebooleanBy default set to "false", this attribute should be set if a line should be drawn underneath the tabs with the color of the selected tab. This attribute might be used by users that did not provide any body for the "tab" tags included in this tabs container.
idfalsefalsejava.lang.StringThe class id for assigning a user provided style to a set of tabs. This attribute must be used together with the "usestylesheet" attribute.
usestylesheetfalsefalsebooleanThis attribute should be used only by users that want to provide a style sheet to change the look and feel of the tabs. This attribute must be used together with the "id" attribute. By default this parameter is set to false.
servletfalsefalsejava.lang.StringThe url of the servlet.

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.