Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:treemanager.nodepath
Traverses the tree beginning at the parent of the current node, returning a list of all ancestor nodes within this same tree using the
ics:treemanager
command.Syntax
<ics:treemanager> <ics:argument name="ftcmd" value="nodepath"/> <ics:argument name="treename" value="name"/> <ics:argument name="node" value="node ID"/> </ics:treemanager>Parameters
ftcmd (required)
- Value must be set to
nodepath
.treename (required)
- Name of the tree.
node (required)
- Node ID of the node.
Description
The
nodepath
command traverses the tree beginning at the parent of the current node, returning a list of all ancestor nodes within this same tree.The list represents the path of the node backwards to its root node (that is, the first record added is the immediate parent of the node, the next row is that parent's parent, and so forth). It stops at a root node in the tree. The node is not included in the returned data, only the parent's. An empty table/list can be returned if node is a top-level node; that is, if its parent is
0
. The name of the list that is constructed is stored in the value of theVariables.treename
.
Note
This command does not span trees. In other words, the path to a node always is within the tree. If a node is pointed to by a node from another tree, it is not in the node path.
errno
The possible values of
errno
include:
Value Description -3 No access privileges to table. -103 No table. -105 Database error. -110 Invalid tree name.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.