Home > Contents > Index >
object:setparent
Sets the parent of a node.
Syntax
<object:setparent name="name of node" parentnode="name of parent node"/>Parameters
name (required)
- Name of the child node.
parentnode (required)
- Name of the parent node.
Description
This tag sets the parent node of a node object. Node objects are used with tree catalogs in the Sites system.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory).Example
The following example sets
parent1
as the parent node for the node objectnode1
.<object:setparent name="node1" parentnode="parent1"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.