Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 


ics:treemanager.addchild

Adds a node to a tree table using the ics:treemanager command.

Syntax

Parameters

ftcmd (required)
Value must be set to addchild.

treename (required)
Name of the tree.

parentid (optional)
Node ID of the parent node. Omit or set to NULL to make this node a top level node. Top level nodes are identified by a 0. Must be an integer.

otype (optional)
Name of an object table.

oid (optional)
Identifies the current object on this node. The oid should correspond to a value in the object table's id column.

oversion (optional)
Numeric value that specifies the version of the object. This parameter is not supported for this release of Sites, and is reserved for use in later versions.

ncode (optional)
16-character string value that is available for use by the application.

nrank (optional)
Numeric value of the rank to assign this node.

Description

The addchild command adds a node to a tree table.

After executing the addchild command, a list named after the tree table or found in a variable called treename is created. A unique identifier for the node in the tree, the nid value, is automatically generated when you successfully add a node. The value of nid can be retrieved in the tree result list.

errno

The possible values of errno include:

Value
Description
-3
No access privileges to table.
-103
No table.
-105
Database error.
-106
Missing or invalid parameter.
-110
Invalid tree name.

See Also

The following ics:treemanager commands:

ics:treemanager.addchildren

ics:treemanager.delchild

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.