Bookshelf Home | Contents | Index | PDF |
Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Applet Web Templates > About Catalog List Applets and Rich List TemplatesA catalog list applet or a rich list template supports a layout that is similar to a catalog. Siebel CRM can display a catalog in a view that references applets that maintain a parent and child relationship. You can display records from the parent applet and the child applet so that Siebel CRM interweaves them with each other. Example of an Applet That Interweaves RecordsFigure 32 describes an example of an applet that interweaves records. Note how Siebel CRM interweaves records in this example:
To create this layout, the parent and child applets are list applets. The parent applet is a root level applet. You can use more than one root level applet to display more than one set of parent-child relationships in a view. The Position Property Defines Relationships Between AppletsThe Position property of the view web template item defines the relationship that exists between the applets. It works similarly to the Position property of the tree node. The root level applets contain position values, such as 1, 2, and so on. You assign the immediate child applets of the applet with position 1 with position values 1.1, 1.2, and so on. You can define third level applets with position 1.1.1, 1.1.2, and so on. These third level applets are child applets of the applet with position 1.1. For more information, see Defining the Position Property of a Tree Node. Tags That Define the Layout for Nonroot AppletsThis topic describes tags that define the layout for nonroot applets layout. Siebel CRM only supports applets in the base mode in this layout. Note the following:
SWE Tag That Iterates Through Each Child AppletThe swe:for-each-child tag iterates through each of the child applets defined for the applet, as determined by the Item Identifier property of the view web template item of the view that the applet references. You can use this tag only in the base template of an applet. If the applet does not include any child applets, then Siebel CRM skips this tag. The swe:for-each-child tag uses the following format:
For more information about the item identifier, see Properties of the Applet Web Template Item. SWE Tag That Places the Child Applet in the Parent AppletThe swe:child-applet tag places the child applet in the parent applet. Siebel CRM uses the base template of the child applet to display the child applet at the location where you place this tag. The swe:child-applet tag uses the following format: Example of a Parent-Child Applet RelationshipThis topic describes the following example parent-child applet relationship: Table 30 describes the properties of the view web template item in the view that references these applets. For more information about the item identifier, see Properties of the Applet Web Template Item. Code That Defines the Table for the Base TemplateThe following code defines the table for the base template of the Category Items List Applet: <swe:control id = "5001" /> <!-- field value like "Small Business" --> <swe:child-applet> <!-- Show the child applet --> Code That Resides in the Base TemplateThe following code resides in the base template for the Sub Category Items List Applet: <swe:control id="5001"/> <!-- field value like "Desktop" --> Set the HTML Number of Rows property of the Sub Category Items List Applet to the number of values that Siebel CRM must display under each category value. To allow the user to drilldown from the category and subcategory values, you must configure the appropriate drilldown objects. |
Configuring Siebel Business Applications | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |