Example Code to Display an Application Menu

To 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:

<!--Start Banner-->
<div od-type="menu"/>
<table class="banner" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td width="50%">
    <img src="images/SiebelLogo.gif" width="282" height="57" border="0" alt="" />
  </td>
  <td width="50%">
    <img src="images/spacer.gif" width="100%" height="58" border="0" alt="" />
  </td>
</tr>