Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
siteplan:listpages
Queries the SitePlanTree table and then creates a list of pages, starting with the page node that you specify.
Syntax
<siteplan:listpages name="nodeName" placedlist="PlacedPages" [level="1"]/>Parameters
name(required)- Input. Name assigned to the site plan node whose unplaced or placed pages you want to list. This node must be loaded and assigned a name before you can pass its name to this tag. (See
siteplan:load.)
placedlist(required)- Input. Name to assign to the list of placed pages.
level(optional)- Input. Number of node levels to list, starting with the node identified by the
nameparameter. The default is10000.
Description
This tag creates a hierarchical list of the pages in the site plan. You can determine which page node to start with and how many levels in the hierarchy to list.
The list contains the following column names:
PageName- Name of the page.
ParentName- Name of the parent in the tree.
NodeLevel- Level in the tree relative to the parent.
PlacedValue-Specifies if the page is placed or unplaced.
AssetType- Type of asset.
Id- Asset's ID.
HasChildren- Specifies if the asset has children; possible values aretrueorfalse.
Nid- Node ID of SitePlan tree entry.Error Numbers
The possible values of
errnoinclude:
Example
This code lists all the placed pages under the site plan node identified as "thePubNode" to one level in the tree; that is, it lists the child pages for "thePubNode" but not its grandchildren, or great-grandchildren, and so on.
<siteplan:listpages name="thePubNode" placedlist="placedPages" level="1"/>
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.