Overview  Index    SDX 7.6 Enterprise JSP Tags
Juniper Networks, Inc.
PREVIOUS TAG  NEXT TAG          SUMMARY: ATTRIBUTES | SCRIPTING VARIABLES          DETAILS: ATTRIBUTES | SCRIPTING VARIABLES

<jnpr:tree>

Type of tag:
          Presentation Tag

The tree tag is a special session tag. It generates a navigable tree representing a hierarchy of enterprise objects. See The Tree Tag for more information.

Attribute Summary
String accessName  Acquired
          This attribute indicates which node in the tree is currently selected.
String enterpriseName  Acquired
          This attribute indicates which node in the tree is currently selected.
String managerName  Acquired
          This attribute is not relevant in the current implementation.
String path  Acquired
          This attribute indicates which node in the tree is currently selected.
String retailerName  Acquired
          This attribute indicates which node in the tree is currently selected.
String serviceName  Acquired
          This attribute is not relevant in the current implementation.
String siteName  Acquired
          This attribute indicates which node in the tree is currently selected.
String subscriptionName  Acquired
          This attribute is not relevant in the current implementation.
String treeAction
          This attribute lets the tree communicate with itself.
String treeClassName
          The name of the Java class that this tree tag will instantiate and depend on to draw the tree of subscribers.
String treeConfig
          The tree tag must be configured by means of its treeConfig attribute if the default value for the tree tag's treeClassName attribute is used.
String treePath
          This attribute lets the tree communicate with itself.
String varName  Acquired
          This attribute is not relevant in the current implementation.

Scripting Variable Summary
String tree_selectedNamePath
          This variable provides the currently selected node.
String tree_selectedTabName
          This variable provides the name of the currently selected tab.
String tree_tabNamesAndUrls
          This variable provides the names displayed on each tab, and the URL associated with each tab.

Attribute Details

accessName
          
Acquired
Type: String
 
This attribute indicates which node in the tree is currently selected. Setting this attribute has no effect. It exists only in the sense that its value will be acquired by any subsequently encountered tag that has acquirable attributes of the same name. The value for this attribute is java.lang.String or null.


enterpriseName
          
Acquired
Type: String
 
This attribute indicates which node in the tree is currently selected. Setting this attribute has no effect. It exists only in the sense that its value will be acquired by any subsequently encountered tag that has acquirable attributes of the same name. The value for this attribute is java.lang.String or null.


managerName
          
Acquired
Type: String
 
This attribute is not relevant in the current implementation. It is reserved for future use in tree tags that display more than just subscribers.


path
          
Acquired
Type: String
 
This attribute indicates which node in the tree is currently selected. Setting this attribute has no effect. It exists only in the sense that its value will be acquired by any subsequently encountered tag that has acquirable attributes of the same name. The value for this attribute is java.lang.String or null.


retailerName
          
Acquired
Type: String
 
This attribute indicates which node in the tree is currently selected. Setting this attribute has no effect. It exists only in the sense that its value will be acquired by any subsequently encountered tag that has acquirable attributes of the same name. The value for this attribute is java.lang.String or null.


serviceName
          
Acquired
Type: String
 
This attribute is not relevant in the current implementation. It is reserved for future use in tree tags that display more than just subscribers.


siteName
          
Acquired
Type: String
 
This attribute indicates which node in the tree is currently selected. Setting this attribute has no effect. It exists only in the sense that its value will be acquired by any subsequently encountered tag that has acquirable attributes of the same name. The value for this attribute is java.lang.String or null.


subscriptionName
          
Acquired
Type: String
 
This attribute is not relevant in the current implementation. It is reserved for future use in tree tags that display more than just subscribers.


treeAction
          
Type: String
 
This attribute lets the tree communicate with itself. The tree tag generates hrefs for its nodes that include treeAction=xxx parameters. The treeAction parameter found in an HTTP request must be passed back into the tree tag by means of this attribute.

Specifies the action to execute before drawing the tree. The treeAction can be one of the following:

  • Expand—Reveals the children of the node specified by the treePath attribute. (For tree-to-tree communication.)
  • Collapse—Hides the children of the node specified by the treePath attribute. (For tree-to-tree communication.)
  • Select—Selects the node specified by the treePath attribute. (For tree-to-tree communication.)
  • Selectrel—Selects the node specified by the treePath attribute, where treePath is relative to the currently selected node. (For tree-to-tree communication.)
  • Modify—Signals the tree to recalculate the visible portion of the tree. Intended to be called after modifying the underlying tree data (that is, the subscribers). The visible tree will be kept as similar to its previous state as possible.
  • Refresh—Signals the tree to clear any data cached from a persistent store and to re-read that data from the persistent store.


treeClassName
          
Type: String
 
The name of the Java class that this tree tag will instantiate and depend on to draw the tree of subscribers. The Java class must implement the interface net.juniper.smgt.ent.jsp.tags.presentation.TreeTagOps.


treeConfig
          
Type: String
 
The tree tag must be configured by means of its treeConfig attribute if the default value for the tree tag's treeClassName attribute is used. See Tree Tag Configuration for more information.


treePath
          
Type: String
 
This attribute lets the tree communicate with itself. The tree tag generates hrefs for its nodes that include treePath=xxx parameters. The treePath parameter found in an HTTP request must be passed back into the tree tag through this attribute.

Specifies the tree node that may be affected by the action specified by the treeAction attribute.

The treePath is a string containing a sequence of zero-based child indices separated by the delimiter ".". For example,..1.0.3 is the path to the fourth child of the first child of the second child of the root (note that the empty string or "." by itself is the path to the root node). Paths starting at the root node are absolute paths. A relative path (relative to the currently selected node) is also legal. A relative path may begin with .., which means the parent of the currently selected node. Likewise ... and .... mean the grandparent and great-grandparent of the currently selected node. This multiple-dots notation can be used only at the beginning of a relative path.


varName
          
Acquired
Type: String
 
This attribute is not relevant in the current implementation. It is reserved for future use in tree tags that display more than just subscribers.

Scripting Variable Details

tree_selectedNamePath
          
Type: String
 
This variable provides the currently selected node. This is a string of node names, separated by a colon (:). Note that this format of string is suitable for use as the selectionNamePath attribute of a selectedNode tag.


tree_selectedTabName
          
Type: String
 
This variable provides the name of the currently selected tab.


tree_tabNamesAndUrls
          
Type: String
 
This variable provides the names displayed on each tab, and the URL associated with each tab.

Overview  Index    SDX 7.6 Enterprise JSP Tags
Juniper Networks, Inc.
PREVIOUS TAG  NEXT TAG          SUMMARY: ATTRIBUTES | SCRIPTING VARIABLES          DETAILS: ATTRIBUTES | SCRIPTING VARIABLES

Copyright 2000-2010 Juniper Networks, Inc. All rights reserved.