Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
siteplan:load
Queries the database for the specified site plan tree node and then loads an instance of the site plan into memory as an object.
Syntax
<siteplan:load name="name" nodeid="nodeid"/>Parameters
name(required)- Input. Name of top-level node of the site plan to load.
nodeid(required)- Input. Node ID of the top-level node in the site plan.
Description
This tag executes a database query to retrieve an instance of the specified site plan tree node and then saves the instance into memory (session information), assigning it the name provided by the
nameparameter. That object is then available until the session is flushed or the name is overwritten.To determine the nodeid of the site plan tree node that you want to load, you can either use the asset:getsitenode ,
orsiteplan:listpages tags.You must load the site plan before you can use any of the other
siteplantags, except siteplan:listpages and siteplan:root .Error Numbers
The possible values of
errnoinclude:
Example
This code loads a page asset, extracts the identity of its site node, and then loads the site plan with that page asset as the top-level page:
<asset:load name="BusinessNews" type="Page" objectid='<%=ics.GetVar("id")%>'/> <asset:getsitenode name="BusinessNews" output="PageNodeId"/> <siteplan:load name="ParentNode" nodeid='<%=ics.GetVar("PageNodeId")%>'/>See Also
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.