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:argumenttag 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:argumenttag:
ics:dateargument
ics:textargument
ics:fieldargumenterrno
The value of
errnois unchanged.Example
The following example uses four
ics:argumenttags to specify name/value pairs to anics:catalogmanagercommand:
<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.