Siebel Tools Reference > Physical User Interface Layer > Navigational Constructs >

Primary Tab Bar


The tab bar allows you to select between the functional areas of an application (Screens). Selecting a screen by clicking on one of these tabs allows you to navigate to that Screen's default View, and alters the contents of the Visibility picklist by listing context Views for the selected Screen.

The primary tab bar is defined in Tools by using the object definitions of the Page Tab object type. The Page Tab object type is a child of the Application object type. One Page Tab child object definition is specified for each Screen (primary tab) that appears in the primary tab bar, given a particular parent Application object definition. The Page Tab object definition creates an association between a Screen object definition and an Application object definition. For example, the Siebel Service application has primary tabs of Activities, Category, Contacts, Correspondence, and so on, and this is defined by creating Page Tab children of the Application object definition called Siebel Service, one for each tab required.

The primary tab bar or "screenbar" is defined using the <swe:screenbar> and embedded <swe:screenlink> tags.

The following code is some sample code from a page container template:

<tr>

<swe:screenbar>

<swe:screenlink state="Active" property="FormattedHtml" >

<td><img src="images/nav/tabon_arrw.gif"/></td>

<td background="images/nav/tabon_back.gif">

<nobr>&nbsp;<swe:screenname/>&nbsp;</nobr>

</td>

<td> <img src="images/nav/tabon_rightcap.gif"/></td>

</swe:screenlink>

<swe:screenlink state="Inactive" property="FormattedHtml" >

<td class='tier1Off'><nobr>&nbsp;<swe:screenname/>&nbsp;
<img src="images/nav/tab_rightcap.gif" align="absmiddle"
width="6" height="19" border="0" alt="alt=""/></nobr></td>

</swe:screenlink>

</swe:screenbar>

<td class="tier1Back"></td>

</tr>

The <swe:screenbar> tag expands to show all the Page Tab names for Screens assigned to an application. The <swe:screenlink> tag defines the link to access for a particular Page Tab. The attribute "state" allows you to specify a different look for when the screenbar is selected (Active) versus when it is not selected (Inactive).


 Siebel Tools Reference
 Published: 20 October 2003