Siebel Developer's Reference > Siebel Web Engine Tags > View Tags >

Overview of Using View Tags


SWE can display the following views on a single page:

  • Main view. The user uses the level 2 or level 3 view bar to choose the main view. A page can include only one main view.
  • Alternate views. Any other view. For example, the Search view that displays applets.

SWE can display views in the following ways:

  • Each view in a separate HTML frame.
  • All views in a single frame.
  • Multiple views in the main browser window or in a dialog box.

The examples in this book describe multiple view layouts that use SWE frames. The description for usage without frames is similar except you can use HTML tables to position the views instead of frames and framesets.

To support multiple views, you must modify frames, framesets, and the Content Container. The Content Container is the container page for the content area.

Modifications That Occurred Starting with Siebel CRM Version 8.x

Siebel CRM version 8.x includes an outer content frame. If you configured a view frame in the application container page, then you must replace this view frame with a content frame. In prior versions, the application container page template that includes the view frame without the outer content frame does not create any errors, but it does allow you to configure Siebel CRM to display multiple views.

if you configured a view frame in the application container page in a version prior to Siebel CRM version 8.x, then you must replace this view frame with a content frame. This content frame defines the area where Siebel CRM can load one or more views. This frame contains a frameset that includes a view frame. The structure of this container template must be similar to the following example:

<div od-type="frameset" htmlAttr="rows='80,50,50,*' border='0' frameborder='No'">

<div od-type="frame" type="Page" htmlAttr="marginheight='0' marginwidth='0' noresize scrolling='No'">
<div od-include="CCFrameBanner"/>
<!--od section frame close->

<div od-type="frame" type="Screenbar" htmlAttr="marginheight='0' marginwidth='0' noresize scrolling='No'">
<div od-include="CCFrameScreenbar"/>
<!--od section frame close->

<div od-type="frame: type="Viewbar" htmlAttr="marginheight='0' marginwidth='0' noresize scrolling='No'">
<div od-include="CCFrameViewbar"/>
<!--od section frame close->

<!--od section frameset close->

Displaying More Views in the Content Area

To display more views in the content area, you can configure Siebel CRM to load a different content container page in the content frame. To do this, you can configure SWE to call the LoadContentContainer method from a control or page item. The User Property Container sends this content container.You set this to the Web Template Name of the content container page.

For example, to display the search view with the main view, you can configure SWE to create a content container page, such as CCSMainAndSearchView, and then use the LoadContentContainer method to load it. The following code from the CCSMainAndSearchView web template contains the tags that load the main view and search view into two frames:

<div od-type="frameset" htmlAttr="cols='100%' border='0' frameborder='No'">
<div od-type="frame: type="View" htmlAttr="noresize scrolling='Yes'">
<div od-type="current-view"/>
<!--od section frame close->
<div od-type="frame" type="AltView" name="Search" htmlAttr="noresize scrolling='Yes'">
<div od-type="view" name="Search View" id="Search" />
<!--od section frame close->
<!--od section frameset close->

The current-view tag references the main view. The view tag references alternate views.

Siebel Developer's Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.