Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Applet Web Templates > About Tree Applet TemplatesThis topic describes the tree applet template. For more information, see Configuring a Tree Applet. How Siebel CRM Builds and Displays a Tree AppletTo display a tree, Siebel CRM iterates through each item of the tree in a top-down, depth-first fashion, and displays one item at a time. Siebel CRM defines this behavior in the <div od-node="xxx"> tag. Siebel CRM uses the <div od-indent="xxx"> tag to indent each tree item. It uses this tag to do the following:
Siebel CRM uses a series of GIF images to do the indentation or to insert white spaces if in text-only mode. Siebel CRM uses images to display the expand icon and collapse icon, or to display text if in text-only mode. The <div od-type="indent-img"> tag defines these objects. Siebel CRM displays, as part of the view, the list applet that is associated with the currently chosen tree node. For more information, see Configuring Icons in a Tree Applet. Example Code of a Tree Applet TemplateIn this example, if the user clicks or expands a tree, then the <div od-type="applet-tree-list ">tag provides a placeholder for a list applet that Siebel CRM displays. The applet that Siebel CRM displays depends on the node that is currently chosen. The following is example code of a tree applet template: <!--View with tree applet in the first section and list applet in the second--> <table border="0" cellspacing="0" cellpadding="1" width="100%"> <div od-type="applet" id="1" hintText="Tree Applet"/> <div od-type="applet-tree-list"/> Example Code of a Tree Applet Template That Displays the Tree in a Single ColumnIn this example, Siebel CRM ignores the following items:
The following example code of a tree applet template displays the tree in a single column: <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0> <div od-iterator="nodeIterator"> <div od-iterator="indentIterator"> <!--od section iterator close-> <div od-type="node" type="DisplayName"> <div od-property="FormattedHtml"/> <div od-type="node" type="FieldValue"> <div od-property="FormattedHtml"/> <!--od section iterator close-> Tags That Siebel CRM Includes in a Tree Applet TemplateThis topic describes some of the tags that Siebel CRM includes in a tree applet template. OD Tag That Displays Tree Nodes and Field ValuesSiebel CRM uses the <div od-node> tag to display tree nodes and field values. It iterates through each visible item that resides in the tree control in a top-down, depth-first fashion. The attributes are optional. If the Count attribute is not defined, then the tag iterates through all nodes in the tree. The <div od-node> tag includes the following attributes:
OD Tag That Indents Tree ItemsSiebel CRM uses the <div od-indent> to indent tree items. It iterates through each level of a tree item. The <div od-indent> tag does not include any attributes. OD Tag That Provides a Placeholder for a GIF ImageSiebel CRM uses the <div od-type="indent-img"> as a placeholder for a GIF image that corresponds to the indent level for the tree item that the user chooses in the Siebel client. At each level, the Siebel Web Engine uses the <div od-type="indent-img"> tag to identify the GIF file. The GIF image can include an empty space or a vertical bar. The <div od-type="indent-img"> tag does not include any attributes. OD Tag That Provides a Placeholder for a Tree ItemSiebel CRM uses the <div od-type="node"> as a placeholder for tree item. A tree item can be a repository tree node or a field value. Note the following:
The expand icon, collapse icon, and links are parts of a tree item. Depending on the configuration file settings, Siebel CRM displays the expand icon or collapse icon as a GIF image or text. It only displays the expand icon or collapse for a tree item that contain child items. The following links are associated with each item:
Choosing an item allows the user to access the list applet that is associated with the tree node. The <div od-type="node"> tag must use the <div od-property="<propertyName>"> tag as a child tag. The <div od-type="node"> tag includes the type attribute. This attribute can include the following values: |
![]() ![]() |
Configuring Siebel Business Applications | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |