Bookshelf Home | Contents | Index | Search | PDF |
Siebel Tools Reference > Logical User Interface Objects Configuration > Defining Toolbars and Menus >
Using JavaScript to Extend Toolbars
You can take advantage of the functionality of high interactivity by extending JavaScript toolbars and creating new ones. Creating new JavaScript files to extend JavaScript toolbars is necessary if you need more toolbar icon types than the standard ones (Link, Button, Label, and Separator in Siebel 7.5).
To extend a toolbar using JavaScript
- Create a JavaScript file to define an extended JavaScript toolbar class that is a subclass of JSSToolbar.
- Copy the JavaScript file to
SIEBSRVR_ROOT
\webmaster\<Siebel_build_number_in_use>
\scripts.- In Siebel Tools, create a DLL object as shown in the following table.
- If you are creating a new toolbar, create a Toolbar object, as shown in To define a new toolbar.
The Class property must be the class defined in the JavaScript file, for example JSSBarcodeToolbar.
- Add new toolbar items as shown in To add a new toolbar icon to an existing toolbar.
- If you are creating a new toolbar, add a <swe: toolbar> tag to the appropriate Web template as shown in HTML and JavaScript Toolbars.
The name property in the swe: toolbar tag must be the name of the Toolbar object in Step 5.
- Add <swe: toolbaritem> tags to the appropriate swe: toolbar tag as shown in HTML and JavaScript Toolbars.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Tools Reference Published: 20 October 2003 |