Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:argument
Declares a value that is available to the parent tag.
Syntax
<ics:argument name="argument name" value="argument value" condition="true or false"/>Parameters
name (required)
- Name of the argument.
value (required)
- Value for this argument.
condition (optional)
- If the expression evaluates to true, then the argument will be used. If it evaluates to false, the argument will be ignored. The default value is true.
Description
The
ics:argument
tag declares a value that is available to the parent tag. It is used in the context of another tag, and causes a runtime error if it is not contained within a proper parent tag. Depending on the parent tag used, the following are variants of theics:argument
tag:
ics:dateargument
ics:textargument
ics:fieldargument
errno
The value of
errno
is unchanged.Example
The following example uses four
ics:argument
tags to specify name/value pairs to anics:catalogmanager
command:
<ics:catalogmanager> <ics:argument name="ftcmd" value="addrow"/> <ics:argument name="tablename" value="HorrorBooks"/> <ics:argument name="title" value="The Shining"/> <ics:argument name="author" value='<%=ics.GetVar("author")%>' condition='<%=ics.GetVar("author")!=null%>' /> </ics:catalogmanager>See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.