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:getvartag returns the value of a variable. If the variable does not exist,ics:getvarreturns 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 by FatWire Software
All rights reserved.