Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:ifnotempty
Processes other tags or displays text based on an
ICS
variable or list being not empty.Syntax
<ics:ifnotempty [variable="ICS variable name"] [list="Name of list"]> tags and/or text </ics:ifnotempty>Parameters
One of the parameters is required.
variable
- The name of an
ICS
variable.list
- Name of the list.
Description
The following code:
<ics:ifnotempty variable="foo"> ...do something... </ics:ifnotempty>is strictly equivalent to:
<ics:if condition='<%=ics.GetVar("foo")!=null && ics.GetVar("foo").length()>0%>'> <ics:then> ...do something... </ics:then> </ics:if>Note that the condition will returnfalse
if the variable does not exist in theICS
scope.Error Numbers
There are no possible
errno
for this tag.See Also
Home > Contents > Index > Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.