public class FeatureTagDisable extends AbstractFeatureTag
It is also possible to store the result of feature evaluation to be able to use it in a more complex condition:
<ff4j:disable featureid="mercure-desc" var="mercureDescDisabled">
<c:if test=${mercureDescDisabled && otherCondition}">
Your HTML code
</c:if">
ERROR_MSG_END, ERROR_MSG_START
Constructor and Description |
---|
FeatureTagDisable() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evalWithExecutionContext(FF4j ff4j, javax.servlet.jsp.PageContext pageContext, FlippingExecutionContext executionContext) |
displayError, doStartTag, eval, getFeatureid, getFf4jAttributeName, getScope, getVar, isShareHttpSession, release, setFeatureid, setScope, setShareHttpSession, setVar
protected boolean evalWithExecutionContext(FF4j ff4j, javax.servlet.jsp.PageContext pageContext, FlippingExecutionContext executionContext)
evalWithExecutionContext
in class AbstractFeatureTag
Copyright © 2013–2020 FF4J. All rights reserved.