Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:resolvevariables
Resolves Content Server 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)
true
indicates new syntax for resolving variables (see the following Description section);false
indicates the old syntax.
Description
The new syntax for resolving variables uses a $(
suffix and a)
prefix. For example,Variables.pagename
becomes$(Variables.pagename)
. This allows you to resolve variables that may be a prefix of another variable name. For example,Variables.listname.column
becomes$($(Variables.listname).column)
to indicate thatlistname
is in the variable.
errno
The possible values of
errno
are:
Value Description -106 Invalid variable references. -10004 A required parameter is missing.Example
The following example resolves a variable called
Variables.Year
and streams the result to the browser.
<ics:resolvevariables name="Variables.Year"/>
This example resolves the variables
Variables.lastname
andVariables.firstname
then streams the result to the browser.
<ics:resolvevariables name="Variables.lastname,Variables.firstname"/>
See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.