public class If
extends javax.servlet.jsp.tagext.TagSupport
ExpressionEvaluator
, the JSP expression language needs to be
used.
Usage:
<!-- assumed there's a request parameter named 'foo'--> <appNG:if condition="foo eq 'bar'">Bar!</appNG:if>
ExpressionEvaluator
,
Serialized FormConstructor and Description |
---|
If() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
String |
getCondition() |
void |
setCondition(String condition) |
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public String getCondition()
public void setCondition(String condition)
Copyright © 2011–2018 aiticon GmbH. All rights reserved.