Siebel Tools Reference > Physical UI Navigation and Templates > Applet Templates >

Toggle Applets


Links to navigate between the toggle applets can be rendered as drop-down select controls or links, or tabs (Figure 226).

Figure 226.  Toggle Picklist Applet
Click for full size image

The toggle selection control can be rendered in any applet template using the new tag <swe:togglebar>. This tag works similarly to the <swe:viewbar> and <swe:screenbar> tags.

If the applet does not have toggle applets defined, this tag and its contents are skipped.

When the type attribute is not set to Select, <swe:togglelink> and <swe:togglename> tags can be used within the body of the <swe:togglebar> tag to create the toggle links or tabs, similar to use of <swe:viewlink> and <swe:viewname> tags.

Examples

To show the toggle applets as a select control:

<swe:togglebar type="Select" >

<table><tr>

<td>

<swe:control id="1" property="DisplayName">

</td>

<td>

<swe:this property="FormattedHtml"/>

</td>

</tr></table>

</swe:togglebar>

Here the control is used to create a label like Show: before the select control. To show the toggle applets as tabs or links:

<swe:togglebar>

<table><tr>

<td>

<swe:togglelink property="FormattedHtml">

<swe:togglename>

</swe:togglelink>

</td>

</tr></table>

</swe:togglebar>


 Siebel Tools Reference
 Published: 20 October 2003