Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Applet Web Templates > About List Applet TemplatesThis topic describes the list applet template. For more information, see Options to Control How the User Creates, Edits, Queries, and Deletes CRM Data. Example Code of a List Applet TemplateThe following is example code of a list applet template: <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center"> <!-- List Header Section Start> <td class="Header" align="center"> <swe:this property="DisplayName"/> <td width="42" align="center" class="Header"> <swe:for-each startValue="501" count="20" iteratorName="currentId"> <swe:control id="swe:currentId"> <td align="swe:this.TextAlignment" class="Header"> <swe:this property="ListHeader"/> <td class="Header" align="center"> <swe:this property="DisplayName"/> <!------------ Loop for all 7 records, List Body -------------> <tr class="swe:this.RowStyle"> <td width="42" align="center" class="Row"> <swe:this property="FormattedHtml" hintMapType="Control"/> <td width="42" align="center" class="Row"> <swe:this property="FormattedHtml" /> <!-- ---------- List Field Values (501-520) -------------> <swe:for-each startValue="501" count="40" iteratorName="currentId"> <swe:control id="swe:currentId"> <td align="swe:this.TextAlignment" class="Row"> <swe:this property="FormattedHtml" <!-- ---------- Per-record Control Buttons -------------> <td align="center" class="Row"> <swe:this property="FormattedHtml" hintMapType="Control"/> <!-- ---------- End Loop, List Body -------------> Tags That a List Applet Template IncludesThis topic describes some of the tags included in a list applet template. SWE Tag That Encloses an Editable SectionThe swe:form tag encloses an editable section. You use it for an editable list applet. SWE Tag That Encloses the List Header and BodyThe swe:list tag encloses the section of the template that contains the list header and body. Siebel CRM replaces the section between the start and end of the swe:list tags with the specialized list control that supports some capabilities, such as resizing columns. For more information, see Caution About Using Specialized Classes. SWE Tag That Defines a Placeholder for a List ColumnThe swe:control tag defines a placeholder for a list column. It includes the Property attribute that specifies the property of the control to display. This attribute includes the following values that are relevant for a list applet:
You can use some properties of a list column to control the attributes of an HTML element that the swe:control tag contains. For example, you can use the following code to set the align attribute of a TD tag to equal the Text Alignment property of the enclosing list column: <td align="swe:this.TextAlignment"> SWE Tag That Repeats for Each List RowThe swe:for-each-row tag encloses the section of the template that Siebel CRM repeats for each list row. |
![]() ![]() |
Configuring Siebel Business Applications | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |