Siebel Tools Reference > Physical UI Navigation and Templates > Toolbars and Menus >

Toolbar Template Configuration


Three types of toolbars are supported: regular and Java applet. Regular toolbars are displayed as HTML toolbars in standard interactivity applications and as extensible JavaScript toolbars in high interactivity applications.

HTML toolbars reside in the topmost frame in the application template, which is set aside for this purpose. JavaScript toolbar objects reside in the JSSApplication hidden frame, which usually does not reload during the application life cycle. Therefore, they are not redrawn when there is a page refresh. The UI part of the JavaScript toolbar resides in a visible HTML frame (recommended to be a persistent frame that reloads infrequently) and redraws when the HTML frame reloads.

An additional frame beneath these is specified for Java applet toolbars in Siebel Call Center and similar applications using CTI. If no Java applet toolbar is used, this frame is omitted.

HTML and JavaScript Toolbars

For an HTML or JavaScript toolbar, add the following to the SWT file:

<swe:toolbar name=xxx> // where xxx is the name of toolbar in the repository.

// any HTML stuff here...

<swe:toolbaritem>

// any HTML stuff here...

</swe:toolbar>

NOTE:  For combobox items, the command has to be targeted to a service.

Java Toolbars

For a Java toolbar, add the following to the SWT file:

<swe:toolbar name="xxx" javaapplet="true" />

The Java applet invokes the ShellUIInit method on the command target service when it tries to initialize. It invokes ShellUIExit when it exits. There is a set of communication protocols defined for the communication between the Java Applet and the service.

The toolbar is implemented as a Java Applet (including all the toolbar controls and the threads interacting with the server).

The full syntax specifications for the <swe:toolbar> and <swe:toolbaritem> tags are below:


 Siebel Tools Reference
 Published: 20 October 2003