Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
render:stream
For a given site information(site name or site id) and device group suffix d, the tag gives id of corresponding site plan.
Syntax
<device:siteplan output="NAME_OF_VARIABLE_HOLDING_RESULTING_SITEPLAN_ID" [d="Device Group Suffix"] [site ="Name of current site OR name of site for which site plan ID is required"] [pubid ="Id of current site or the site for which site plan ID is required"] />Parameters
output
(required)- Name of the variables with which the output site plan id will be set in ICS scope.
d
(optional)- Suffix for current device group. If not passed explicitly in the tag, tag will look for d in ICS scope. If d was not found in attribute as well as in ICS, or it was null or an invalid value, tag will return id of default site plan for current site.
site
(optional)- Name of current site OR name of site for which site plan ID is required. If not passed explicitly through the tag, and site variable is available in current ICS scope, tag will use this site value from ICS scope. Note, If both pubid and site attributes are provided, pubid value will be used. If both these attributes are not passed, and both are available in current ICS scope, pubid will be used. If only one of the attributes is passed explicitly, the passed-in attributes value will be used, ignoring the value of non-passed attribute available in current ICS scope.
pubid
(optional)- Id of current site or the site for which site plan ID is required. If not passed explicitly through the tag, and pubid variable is available in current ICS scope, tag uses this pubid value.
Error Numbers
The possible values of
errno
include:
Value Description -3704 This error number is set when site information is not available i.e. both site and pubid were neither passed nor were available in ICS scope.Example
<device:siteplan output="NAME_OF_VARIABLE_HOLDING_RESULTING_SITEPLAN_ID" pubid ='<%=ics.GetVar("pubid ")%>' site='<%=ics.GetVar("site ")%>' d='<%=ics.GetVar("d")%>'/>
Home > Contents > Index > Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.