Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Configuring Siebel Business Applications > Configuring Siebel Web Templates and Siebel Tags > Configuring Web Templates to Display Menus, Toolbars, and Thread Bars > Using Web Templates to Display Menus and ButtonsIf the user clicks a menu that is defined as button or link in a Siebel Web template, then the Siebel Web Engine uses the <div od-type="menu"> tag to activate a list of menu items. The <div od-type="menu"> tag displays menus in the following ways: Siebel CRM displays an applet menu as an icon button, typically placed before other buttons, such as Edit and Delete. In the Siebel client, it uses the configuration in the Siebel runtime repository to create a set of menu items for an applet. The tag must be defined in an applet web template for applet menus. Example Code to Display an Application MenuTo display an application menu, you can define the <div od-type="menu"> tag in any type of template other than an applet web template. Siebel CRM uses the Menu and Menu Item object definitions in the Siebel repository to display a set of menus from a single <div od-type="menu"> tag. The Menu property in the Application object definition references the Menu object definition. This Menu object definition specifies a set of application menus and menu items in each application menu. Siebel CRM predefines some menu items, such as the Logout menu item. The following example code from the CCFrameBanner web template includes the <div od-type="menu"> tag at the start of the definition for a banner: <table class="banner" cellpadding='0' cellspacing='0' border='0'> <img src="images/SiebelLogo.gif" width="282" height="57" border="0" alt="" /> <img src="images/spacer.gif" width="100%" height="58" border="0" alt="" /> How the Menu Tag Displays a MenuThe <div od-type="menu"> tag displays menu buttons or links for all menus for the following:
The od-type="menu" tag uses the following format:
The <div od-type="menu"> tag includes the following attributes:
Example Code to Display Applet ButtonsThe following code from the CCFormButtons web template is an example of the template that Siebel CRM uses to display applet buttons, including the menu button: <!-- Buttons (Edit, Delete, Optional, Optional, Optional) ---> <td valign="middle"><img src="images/bttns/div.gif" height="13" border="0" align="middle" alt=""></td> <div od-type="control" id="132"> <div od-property="FormattedHtml" hintText="Edit" hintMapType="Control"/> |
![]() ![]() |
Configuring Siebel Business Applications | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |