Bookshelf Home | Contents | Index | PDF |
Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About View Web TemplatesSiebel CRM uses a view web template to associate a view web template with a view. A view web template uses the swe: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 TemplateThe following is code is from an example view web template: <!-- Template Start: CCViewBasic.swt --> <!------------ Page Title -------------> <!----------- Salutation applet and Search Applet, table 3.1 ------> <table border="0" cellspacing="0" cellpadding="1" width="100%"> <td width="66%"><swe:applet id="101"/> </td> <td width="33%"><swe:applet id="201"/> </td> <!-------- End Salutation applet and Search Applet, table 3.1 ------> <!------------ Regular Applet(s) ----> <swe:for-each count=5 iteratorName="currentId" startValue="1"> <swe:applet id="swe:currentId"/> <!------------ Special Applet(s) ----> <swe:for-each count=3 iteratorName="currentId" startValue="11"> <swe:applet id="swe:currentId"/> <!-- Template End: CCViewBasic.swt --> Applet ID TagsEach swe: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 swe:applet tags:
HTML Frames in a View Web TemplateTo 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:
For more information, see Guidelines for Naming a Siebel Web Template. Example Code for Using HTML Frames in a View Web TemplateThe following is an example of code that uses HTML frames in a view web template: <!-- CCView_33_66_Frame.swt start --> <swe:frameset htmlAttr="cols='33%,66%'' border='1' frameborder='Yes'"> <swe:frame type="Applet" htmlAttr="marginheight='0' margin width='0' scrolling='Auto'"> <swe:for-each count=10 iteratorName="currentId" startValue="101"> <swe:applet id="swe:currentId" hintText="Applet" var="Parent"> <swe:this property="FormattedHtml"/> <swe:frame type="Applet" htmlAttr="marginheight='0' marginwidth='0' scrolling='Auto'"> <swe:for-each count=10 iteratorName="currentId" startValue="201"> <swe:applet id="swe:currentId" hintText="Applet" |
Configuring Siebel Business Applications | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |