Siebel Tools Reference > Physical UI Navigation and Templates > Applet Templates >

Catalog-Style List Applets and Rich Lists


This feature supports a catalog-like layout for views with master-detail applets. Records from the master applet and the detail applet can be shown interwoven with each other. This allows the creation of the layout like the one shown below in Figure 232:

Figure 232. Master-Detail Applet

Click for full size image

In this case the bullet items under Portable Music are from records in the master applet. The values below it are records from the detail applet for that record in the master applet.

To create this layout, the master and detail applets are configured to be list applets. The master applet will be called a root level applet. It is possible to show more than one set of master-detail relationships within a view (that is, there could be more than one root level applet). To define the relationship between the applets, the new Position attribute of the View Web Template Item object type is used. The position attribute works similarly to the Position attribute of the Tree Node object type. The root level applets will have position values like 1, 2, and so on. For the applet with position 1, its immediate child applets will be assigned position values 1.1, 1.2, and so on. It is possible to define a third level applets with position 1.1.1, 1.1.2, and so on (that is, these are the child applets of the applet with position 1.1).

In the View Web Template Item object definition, only the root level applets are mapped to <swe:applet> tags in the view template. The other applets in the view defined in the View Web Template Item object are not assigned an Id value. The layout of these non-root applets are not specified in the view template, but are specified in the applet template of the root level applets. The following new tags are used to specify this layout. Only applets in the base mode in this layout are supported.

Example

This section presents a master-detail applet relationship with the master applet being Category Items List Applet and the detail being Sub Category Items List Applet. The View Web Template Item of the view that contains this applet has the following values (Table 67):

Table 67. View Web Template Item Properties
Item Identifier
Applet
Applet Mode
Position
101
Category Items List Applet
Base
1
 
Sub Category Items List Applet
Base
1.1

The base template for the Category Items List Applet will have the following table definition:

<table>

<swe:for-each-row>

<tr>

<td>

<swe:control id = "5001" /> <!-- field value like "Small Business" -->

</td>

<td>

<swe:for-each-child>

<swe:child-applet> <!-- Show the child applet -->

</swe:for-each-child>

</td>

</tr>

</swe:for-each-row>

</table>

The base template for the Sub Category Items List Applet will have the following:

<table><tr>

<swe:for-each-row>

<td>

<swe:control id="5001"/> <!-- field value like "Desktop" -->

</td>

</swe:for-each-row>

</tr></table>

NOTE:  Set the HTML Number of Rows property of the Sub Category Items List Applet to the number of values you want to show under each category value. To allow drilldown from the category and sub-category values, configure the appropriate drilldown objects.


 Siebel Tools Reference, Version 7.5, Rev. A 
 Published: 18 April 2003