Dynamic tree definition
Note: Parameters with default values (specified in DynamicTree.dtd)
do not need to be specified unless you want to change the default.
- <tree> </tree>
- The primary element defining a dynamic tree. The following attributes
are supported:
- dataBean
- A required attribute that specifies the fully qualified name of the data bean that populates the tree.
- initDataURLParam
- An optional attribute used to pass any arguments you want to pass
to the data bean (such as preLoad). By default, this string is empty.
For example,
initDataURLParam="preLoad=3&myParam=something"
- targetFrame
- An optional attribute that specifies the name of the content frame,
as specified in your frameset definition page. The default value is
"content". For example,
targetFrame="content"
- expandInContextMenu
- An optional Boolean value that specifies whether the Expand or Collapse menu items appear in the context-sensitive menu for all tree nodes that have at least one child. The default value is "true".
- folderIcon
- An optional Boolean value that specifies whether the folder icon appears in the tree. The default value is "true".
- contextMenu
- An optional Boolean value that specifies whether the contextMenu is enabled. This determines whether users can right-click on entries in the tree, and see the context menu. The default value is "true".
- expandLevel
- An optional numeric value specifying how far to expand the tree
when it first opens.
- Note:
- The tree can only open to levels which have been pre-loaded.
The default value is "0".
- treeSearchFailedResourceBundle
- An optional attribute that specifies the resource bundle that contains the error message to be displayed when the tree cannot find a specified node when performing a search. The default value is "common.uiNLS".
- treeTitle
- An optional attribute that specifies that a title should be inserted
above the tree using the
<h1>
HTML tag. The default value is an empty string.
- <jsFile/>
- An optional element that must be inside the <tree> element
if specified. This attribute specifies a JavaScript file to be included
in the tree JSP file. Files defined here are included in the parent
frame. Thus, access to these functions require
parent.
prefixed to function calls to scope them to the parent frame. Multiple instances of this tag are allowed. The following attribute is supported:
- src
- A required attribute that specifies the location of the JavaScript
file. For example,
src="/wcs/javascript/tools/common/TreeUtil.js"