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 swe:menu tag to activate a list of menu items. The swe:menu tag displays menus in the following ways: Siebel CRM displays an applet menu as an icon button, typically placed to the left of other buttons, such as Edit and Delete. In the Siebel client, it uses the configuration in the SRF file to create a set of menu items for an applet. The tag must be defined in an applet web template for applet menus. Siebel CRM only displays menus in high interactivity. Example Code to Display an Application MenuTo display an application menu, you can define the swe: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 swe: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.swt file includes the swe: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 swe:menu tag displays menu buttons or links for all menus for the following:
The swe:menu tag uses the following format:
The swe:menu tag includes the following attributes:
Example Code to Display Applet ButtonsThe following code from the CCFormButtons.swt file 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> <swe:this property="FormattedHtml" hintText="Edit" hintMapType="Control"/> |
Configuring Siebel Business Applications | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |