Bookshelf Home | Contents | Index | PDF |
Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Applet Web Templates > About List Applet TemplatesInformation in this topic is presented in terms of if the user can or cannot edit information that Siebel CRM displays in an applet, which the Edit List mode controls. 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 Included in a List Applet TemplateThis topic describes important 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. For a Siebel application that uses high interactivity, Siebel CRM replaces the section between the start and end of the swe:list tags with the specialized list control that supports certain capabilities, such as resizing columns. Siebel CRM ignores this tag for standard interactivity applications. For more information, see About Standard Interactivity and High Interactivity. 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, which specifies the property of the control to render. This attribute includes the following important 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 Allows the User to Choose RowsThe swe:select-row tag renders check boxes that allow the user to choose multiple rows. For more information, see Allowing the User to Choose Multiple Rows in Standard Interactivity. 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 © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |