Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:if
Processes other tags or displays text based on a logical condition.
Syntax
<ics:if condition="logical expression
"> <ics:then> tags and/or text </ics:then> <ics:else> tags and/or text </ics:else> </ics:if>Parameters
condition
(required)- Takes a
true
orfalse
logical expression in Java.
Description
The
ics:if
tag processes other tags or displays text based on a logical condition. If the condition istrue
, the content of theics:then
tag is processed. If the condition isfalse
, the content of theics:else
tag is processed. Theics:then
tag is required as part of anics:if
tag. Theics:else
tag is not required. ics:if, ics:else and ics:then provide debugging information in log.errno
The value of
errno
is unchanged.Example
The following example checks the value of
errno
:<ics:if condition="<%=ics.GetErrno()!=0%>">See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.