Bookshelf Home | Contents | Index | Search | PDF |
Siebel Tools Reference > Physical UI Navigation and Templates > View Templates >
HTML Frames in View Templates
HTML frames can be used in View templates to create a frame definition document to show the Applets in the View. SWE will refresh these frames only when one or more of the Applets contained in a frame has new data.
NOTE: You can use frames in a View template only if frames are also used in the container page and there is a separate frame in the container page for the View.
In a View template, applets can be grouped into separate frames, although this is considered a non-standard practice except in cases where independent refresh or independent scrolling is a significant requirement. One situation where frames are required in the content area is when displaying an explorer View, in which a tree applet occupies a frame on the left and the corresponding list applet occupies the frame on the right. Another situation requiring frames is when the user activates a search, at which time a Search frame, and subsequently a Results frame, are activated in the right portion of the content area.
The following shows the implementation details of frameset definitions in View templates:
- When placing Applets into frames you need to make sure that at least one
<swe:applet>
tag within a frame gets mapped to an Applet in the repository. Otherwise empty frames will occur.- When a <swe:frame> block contains a
<swe:applet>
tag, its type attribute should be set to Applet.Given below is an example of a view template that uses frames:
<!-- CCView_33_66_Frame.swt start -->
<swe:frameset htmlAttr="cols='33%,66%'' border='1' frameborder='Yes'">
<!-- Column 1 Applets -->
<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">
<!--start applet-->
<swe:this property="FormattedHtml"/>
<!--end applet-->
</swe:applet>
</swe:for-each>
</swe:frame>
<!-- Column 2 Applets -->
<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"
var="Parent">
<!--start applet-->
<swe:this property="FormattedHtml"/>
<!--end applet-->
</swe:applet>
</swe:for-each>
</swe:frame>
</swe:frameset>
<!-- CCView_33_66_Frame.swt end --> </HTML>
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Tools Reference, Version 7.5, Rev. A Published: 18 April 2003 |