Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
siteplan:get
Retrieves and lists the value of a single field from a loaded site plan node.
Syntax
<siteplan:get name="nodeName" field="fieldName" [output="variableName"]/>Parameters
name(required)- Input. Name of the site plan node whose field value you want to retrieve. This node must be loaded and assigned a name before you can pass its name to this tag. (See
siteplan:load.)
field(required)- Input. Name of the field whose value you want to retrieve.
output(optional)- Input. Name to assign to the output variable that stores the value of the field. If you do not supply a name, Sites creates a variable with the same name as that of the field.
Description
This tag obtains the value (or contents) from the specified field of a loaded node, and stores it in the specified output variable.
Use this tag to extract the parent node ID in order to trace the parentage of a page, which enables you to then display a link to the parent of the page that is currently displayed.
Error Numbers
The possible values of
errnoinclude:
Example
This code extracts the value of the "oid" field for the site plan node identified as "pageNode" and stores it in an output variable named "objectid."
<siteplan:get name="pageNode" field="oid" output="objectid"/>See Also
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.