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

About View Web Templates


Siebel CRM uses a view web template to associate a view web template with a view. A view web template uses the <div od-type="applet"> tag to define placeholders for applets. You can use the Web Layout Editor to map an applet to each placeholder.

Example Code of a View Web Template

The following is code is from an example view web template:

<!-- Template Start: CCViewBasic -->

<!------------ Page Title ------------->

<title>

<div od-property="Title"/>

</title>

<!----------- Salutation applet and Search Applet, table 3.1 ------>

<table border="0" cellspacing="0" cellpadding="1" width="100%">

<tr>

<td width="66%"><div od-type="applet" id="101"/>&nbsp;</td>

<td width="33%"><div od-type="applet" id="201"/>&nbsp;</td>

</tr>

</table>

<!-------- End Salutation applet and Search Applet, table 3.1 ------>

<!------------ Regular Applet(s) ---->

<div od-prefix od-id="[1:5]" od-iterator="currentId">

<div od-type="applet" id="od-type:currentId"/>

<!--od section iterator close->

</div>

<!------------ Special Applet(s) ---->

<div od-prefix od-id="[11:3]" od-iterator="currentId">

<div od-type="applet" od-id="od-attr-currentId"/>

<!--od section iterator close->

</div>

<!-- Template End: CCViewBasic -->

Applet ID Tags

Each <div od-type="applet" id="x"> tag is a placeholder that determines the location for an applet in the view web template. To display different views, you can map applets that currently exist in the view to placeholders in this same view web template. View web templates that come predefined with Siebel CRM include the following <div od-type="applet"> tags:

  • Tags with IDs of 101 and 201. Displays the salutation and search applets that Siebel CRM displays at the start of the views.
  • Tags with IDs 1 through 10. Displays the main applets in the view.
  • Tags with IDs that begin with 11. Displays special applets that Siebel CRM displays at the lowest level of some views.

HTML Frames in a View Web Template

To display applets in a view, you can use HTML frames in view web templates and create a frame definition document. The Siebel Web Engine refreshes these frames only if one or more of the applets that the frame contains includes new data.

The following situations require HTML frames in the content area of a view web template:

  • If a tree applet occupies a frame in the first section and the corresponding list applet occupies the frame in the section in an explorer view.
  • If the user does a search. Siebel CRM requires a search frame and a results frame in the second portion of the content area.
Example Code for Using HTML Frames in a View Web Template

The following is an example of code that uses HTML frames in a view web template:

<!-- CCView_33_66_Frame start -->

<div od-type="frameset" htmlAttr="cols='33%,66%'' border='1' frameborder='Yes'">

<!-- Column 1 Applets -->

<div od-type="frame" type="Applet" htmlAttr="marginheight='0' margin width='0' scrolling='Auto'">

<div od-prefix od-id="[101:10]" od-iterator="currentId">

<div od-type="applet" od-id="od-attr-currentId" hintText="Applet" od-context="<parent>">

<!--start applet-->

<div od-property="FormattedHtml"/>

<!--end applet-->

<!--od section applet close->

</div>

<!--od section iterator close->

</div>

<!--od section frame close->

</div>

<!-- Column 2 Applets -->

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

<div od-prefix od-id="[201:10]" od-iterator="currentId">

<div od-type="applet" od-id="od-attr-currentId" hintText="Applet" od-context="parent">

<!--start applet-->

<div od-property="FormattedHtml"/>

<!--end applet-->

<!--od section applet close->

</div>

<!--od section iterator close->

</div>

<!--od section frame close->

</div>

<!--od section frameset close->

</div>

<!-- CCView_33_66_Frame end --> </HTML>

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