Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:treemanager.delchildren
Deletes multiple nodes from a tree using the
ics:treemanagercommand.Syntax
<ics:treemanager> <ics:argument name="ftcmd" value="delchildren"/> <ics:argument name="treename" value="name"/> <ics:argument name="nodeN" value="node ID"/> </ics:treemanager>Parameters
ftcmd (required)- Value must be set to
delchildren.
treename (required)- Name of the tree.
nodeN(required)- Where
Nis 0 to the number of nodes that you want to delete.
Note that these parameters are the same as for
delchild. Children are deleted from a single tree and the node parameter must be specified by counting from 0. Seeaddchildrenfor more information.Description
The
deletechildrencommand deletes multiple nodes from a tree. Child nodes of the nodes deleted are also removed. The objects pointed to by the nodes are not affected.errno
The possible values of
errnoinclude:
Value Description -3 No access privileges to table. -103 No table. -105 Database error. -110 Invalid tree name. -111 No nodes.Example
<ics:setvar name="errno" value="0"/> <ics:treemanager> <ics:argument name="ftcmd" value="delchildren" /> <ics:argument name="treename" value="TreetestTree" /> <ics:argument name="node0" value="34253224" /> <ics:argument name="node1" value="94589343" /> <ics:argument name="node2" value="83473888" /> </ics:treemanager> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>
See Also
The following
ics:treemanagercommands:
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.