Home > Contents > Index >
ics:resolvevariables
Resolves Sites multiple variables.
Syntax
<ics:resolvevariables name="variable name" [output="variable name"] [delimited="true|false"] />Parameters
name (required)- String with embedded variable references.
output (optional)- Output variable name. If this parameter is not specified, the results are streamed.
delimted (optional)trueindicates new syntax for resolving variables (see the following Description section);falseindicates the old syntax.
Description
The new syntax for resolving variables uses a $(prefix and a)suffix. For example,Variables.pagenamebecomes$(Variables.pagename). This allows you to resolve variables that may be a prefix of another variable name. For example,Variables.listname.columnbecomes$($(Variables.listname).column)to indicate thatlistnameis in the variable.
Error Numbers
The possible values of
errnoare:
Value Description -106 Invalid variable references. -10004 A required parameter is missing.Example
The following example resolves a variable called
Variables.Yearand streams the result to the browser.<ics:resolvevariables name="Variables.Year"/>This example resolves the variables
Variables.lastnameandVariables.firstnamethen streams the result to the browser.<ics:resolvevariables name="Variables.lastname,Variables.firstname"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.