Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Siebel Web Templates >

How Siebel CRM Uses HTML Frames in the Container Page


The container page can contain HTML frames that allow Siebel CRM to independently update and scroll different parts of a page. Example elements include toolbars, menus, the main content area, and so on. For more information, see Example Frameset Code From a Container Page.

You can group applets into separate frames in a view web template. It is recommended that you do not use this configuration except where independent refresh or independent scrolling is required.

Siebel CRM uses the <div od-type="frameset"> tag and the <div od-type="frame"> tag to do the following:

  • Create attributes for HTML frames.
  • Allow the Siebel Web Engine to control how it targets and refreshes URLs.

OD Tag That Defines the Set of Frames in a Document

The <div od-type="frameset"> tag defines the set of frames that the document contains. Similar to the HTML frameset tag, the Siebel Web Engine displays it as an HTML frameset tag. The body of this tag can only contain <div od-type="frame"> tags.

The <div od-type="frameset"> tag uses the following format:

<div od-type="frameset" htmlAttr="xxx"> ... <!--od section frameset close-> </div>

The <div od-type="frameset"> tag includes the htmlAttr attribute. This attribute defines the attributes for the HTML frameset tag. For example, the following code supports a layout where the frames that belong to the frameset use 89 pixels, 25 pixels, and the remainder of the window:

htmlAttr="rows='89,25,*'"

OD Tag That Marks the Beginning and End of Content in a Frame

The <div od-type="frame"> tag marks the beginning and end of the contents that Siebel CRM places in a frame. The Siebel Web Engine displays this tag as an HTML frame tag, with the src attribute of the tag set to a Siebel Web Engine URL that gets the contents of the frame. You must place this tag in the body of the <div od-type="frameset"> tag.

The <div od-type="frame"> tag uses the following format:

<div od-type="frame" type="xxx" name="yyy"> .... <!--od section frame close-> </div>

The <div od-type="frame"> tag includes the following attribute:

type

The type attribute indicates the nature of the contents of the frame. The Siebel Web Engine uses this information to decide when to refresh the frame. It supports the following values for the type attribute:

  • Siebel CRM uses the following values in a container page template:
    • Toolbar. Specifies that the frame contains the toolbar.
    • Screenbar. Specifies that the frame contains the primary tab bar.
    • Viewbar. Specifies links to views and categories of views.
    • View. Specifies that the frame contains the current view, that is, the content area.
    • Page. Specifies that the frame contains a Web page. Siebel CRM does not refresh these frames after initial loading.
  • Applet. In a view web template, specifies that the frame contains an applet.
  • Content. Defines the content area and contains a view frame that displays the main view. To display an alternate view, it can contain one or more AltView frames. The search center is an example of an alternate view.
  • AltView. Designates subframes to display one or more alternate views in the content frame in addition to the one in the view frame.
  • Name. Used only if the type of the frame is page. In this situation, you can use this attribute to define a name for the frame. For other frame types, the Siebel Web Engine creates consistent names for the frame.

Nested Framesets

The Siebel Web Engine supports nested framesets. In this situation the <div od-type="frame"> tag contains a <div od-type="frameset"> tag, and the type attribute of the outer <div od-type="frame"> tag is the following:

page

Example Frameset Code From a Container Page

The following <div od-type="frameset"> code is from the Page Container web template:

<div od-type="frameset" htmlAttr="rows='60,21,25,*' border='0' frameborder='No'">

<div od-type="frame" div od-type="page" htmlAttr="marginheight='0' marginwidth='0'noresize scrolling='No'">

<div od-include="CCFrameBanner>"/>

<!--od section frame close->

</div>

<div od-type="frame" div od-type="screenbar" htmlAttr="marginheight='0' marginwidth='0' noresize scrolling='No'">

<div od-include="CCFrameScreenbar>"/>

<!--od section frame close->

</div>

<div od-type="frame" div od-type="viewbar" htmlAttr="marginheight='0' marginwidth='0' noresize scrolling='No'">

<div od-include="CCFrameViewbar"/>

<!--od section frame close->

</div>

<div od-type="frame" div od-type="view" htmlAttr="marginheight='0' marginwidth='0' noresize scrolling='Auto'">

<div od-type="current-view"/>

<!--od section frame close->

</div>

<!--od section frameset close->

</div>

Configuring Siebel Business Applications Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.