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.Error Numbers
There are no possible
errnofor this tag.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 > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.