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 TemplatesCatalog list applets and rich list templates support a layout that is similar to a catalog. Siebel CRM displays these catalogs in views that reference applets that maintain a parent and child relationship. You can display records from the parent applet and the child applet so that they are interwoven with each other. Example of an Applet That Interweaves RecordsFigure 32 illustrates 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 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 forth. You assign the immediate child applets of the applet with position 1 with position values 1.1, 1.2, and so forth. You can define third level applets with position 1.1.1, 1.1.2, and so forth. 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:
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 render 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 29 describes the properties of the view web template item in the view that references these applets. 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" --> NOTE: Set the HTML Number of Rows property of the Sub Category Items List Applet to the number of values you 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 © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |