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
trueorfalselogical expression in Java.
Description
The
ics:iftag processes other tags or displays text based on a logical condition. If the condition istrue, the content of theics:thentag is processed. If the condition isfalse, the content of theics:elsetag is processed. Theics:thentag is required as part of anics:iftag. Theics:elsetag is not required. ics:if, ics:else and ics:then provide debugging information in log.errno
The value of
errnois 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.