Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:getvar
Returns the value of a Content Server variable.
Syntax
<ics:getvar name="varname" encoding="default" [output="variable name"]/>Parameters
name (required)
- Name of the variable.
encoding (required)
- Encoding used to convert binary values to a string. The value of this parameter must be set to
default
.
output (optional)
- Specifies an optional output variable. If this parameter is not specified, the output is streamed to the browser.
Description
The
ics:getvar
tag returns the value of a variable. If the variable does not exist,ics:getvar
returns an empty string.errno
None.
Example
The following line retrieves the value of the Content Server variable
username.
<ics:getvar name="username" encoding="default" />See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.