View Element Reference

< tab />

The <tab> element defines a single tabbed page.

<tab name="page-1" selected="true">
<title translatable="true">Page 1: Project</title>
<panel type="form" columns="1" id="project">
<title translatable="true">Project</title>
<field table="project" name="project_id"/>
<field table="project" name="date_commence_work"/>
<field table="project" name="date_target_end"/>
</panel>
</tab>


The <tab> element may specify an external view file to be used as a tab page:

<tab name="requestor" selected="true"
file="ab-ex-tabs-wizard-create-requestor.axvw" imageName="ab-icon-proj-task.gif">
<title translatable="true">Create Request</title>
</tab>

Enclosing Element: This tag is a direct child of the <tabs> element.
Encloses: This tag can enclose the <title> , <panel> , and nested <tabs> child elements.
Attributes
Attribute Description Valid Values Optional
name Specifies an id to be used as a handle to the tab from scripting or commands A unique name among tabs in this view no
file The tab set will open with the first tab in the list as the selected and active tab unless one of the tab elements has this attribute set to true An existing axvw view file yes
selected Specifies a role for the defined dataSource A condition that evaluates to true or false . Typically using a binding expression such as ${!user.isMemberOfGroup('FIM')} , which compares the current user with an established security group yes
hidden Typically used with a condition to dynamically hide or show the tab based on some data independent of the individual views in the tabs. true , false , defaulting to true yes
enabled Used to selectively enable or disable a tabbed page true or false , defaulting to true yes
useFrame By default, when not specified, its value is true and the tab page uses an IFrame. When you explicitly specify useFrame = "false" , the nested tab page views are included on the server into the master HTML page true or false , defaulting to true yes
imageName Used to replace tab text with the specified image a name of an existing .gif, .jpg, etc., or other image file type. When searching for an image file, Web Central will first look in the same folder as the including AXVW file, and then search in folders defined in \WEB-INF\config\context\compatibility\afm-config.xml , in the <searchDirectories> element under a <fileCategory> with extension gif , jpg , etc yes

Note: The following Javascript reserved keywords cannot be used as tab names in views:

concat
every
filter
forEach
indexOf
join
lastIndexOf
map
slice
some
toSource
toString
valueOf
pop
push
reverse
shift
sort
splice
unshift