Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
object:children
Retrieves children of a particular node.
Syntax
<object:children name="name of node" list="list" [objecttype="object type"] [objectid="object ID"] [objectversion="object version"] [code="selected code"] [order="name1,name2,name3"]/>Parameters
name (required)- Name of the parent node.
list (required)- Specifies the name of the list in the list pool. This is the same list pool used by other Sites tags that generate lists. If a list exists with the same name, it is replaced by the new list.
objecttype (optional)- Specifies a requested object type for the child nodes. It can be used in conjunction with the
objectidandobjectversionparameters to request a specific object, or it can be used independently to request all objects of a specific class.
objectid (optional)- Specifies a requested object identifier for the child nodes. It should be used in conjunction with the
objecttypeparameter, to specify the class of object.
objectversion (optional)- Specifies a requested object version for the child nodes. This parameter is typically used to uniquely identify an object, when used in conjunction with the
objecttypeandobjectidparameters.
code (optional)- Allows for selection of child nodes based on the code associated with the node.
order (optional)- Specifies a comma-separated list of field names that should be used to order the list of objects.
Description
This tag builds a list of child node objects that meet specified criteria.
errno
The possible values of
errnoinclude:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory). -10006 The object ID is not valid. -10007 The version of the object is not valid.Example
The following example retrieves only the child nodes from the
sampleobject type from parentnode1:<object:children name="node1" list="list1" objecttype="sample"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.