Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
ics:treemanager.movechild
Moves a node and its children to a new parent that may be in the same or a different tree table using the
ics:treemanagercommand.Syntax
<ics:treemanager> <ics:argument name="ftcmd" value="movechild"/> <ics:argument name="treename" value="name"/> <ics:argument name="node" value="node ID"/> <ics:argument name="newtreename" value="treename"/> <ics:argument name="nparentid" value="parent node ID"]/> </ics:treemanager>Parameters
ftcmd(required)- Value must be set to
 movechild.
treename(required)- Name of the source tree.
 
node(required)- ID of the node to move.
 
newtreename(required)- Name of the new (destination) tree.
 
nparentid(optional)- ID of the new parent of the node (omit or NULL to move to root).
 
errno
The possible values of
errnoinclude:
 Value Description -3 No access privileges to table. -103 No table. -105 Database error. -106 Missing or invalid parameters. -110 Invalid tree name. -112 The parent node does not exist or this node is a root node. Note that versions of Content Server earlier than 3.5 reacted to these errors by returning anerrnoof0(with an empty resultset 0 rather than an errno of-112).See Also
The following
ics:treemanagercommand:
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.