Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Developer's Reference > Siebel Web Engine Tags > Applet Tags > Master and Detail Applet TagsThe <div od-iterator="childIterator"> and <div od-iterator="child-appletIterator"> tags display a view that includes master and detail applets. This view is similar to the layout that a catalog uses. SWE can interweave the records that it displays in these applets instead displaying only master records in the master applet and only detail records in the detail applet. You can configure the master and detail applets as list applets to create a layout that is similar to a catalog. To define a relationship between these applets, you can use the Position attribute of the view web template item. This attribute is similar to the Position attribute of a tree node:
SWE can display more than one set of master and detail relationships in a view where more than one master applet can exist. Siebel CRM only maps the master applets to the applet Siebel CRM supports this layout only for an applet that is in base mode. Example of Using Master and Detail Applet TagsIn the example that this topic describes, assume a master and detail view includes the Category Items List Applet as the master applet and the Sub Category Items List Applet as the detail applet. The following table lists the view web template items that this view uses. The base template for the Category Items List Applet contains the following code: <table> The base template for the Sub Category Items List Applet contains the following code: <table><tr> Iterate Child Applets TagThe <div od-iterator="childIterator"> tag iterates each of the child applets that Siebel CRM defines for this applet according to the position value of the view web template that resides in the view that references this applet. It uses the following format:
SWE can use this tag only in the base template of an applet. If the applet does not contain a child applet, then SWE ignores this tag. Child Applet TagThe child-applet tag places a child applet in a parent applet. The base template of this child displays the child at the point where SWE places this tag. The child-applet tag uses the following format: You can set the HTML Number of Rows property of the Sub Category Items List Applet to the number of values that SWE must display in each category. You must configure the appropriate drilldown objects to allow the user to drill down from the category and subcategory values. |
![]() ![]() |
Siebel Developer's Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |