Class FeatureTagDisable

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.ff4j.web.taglib.AbstractFeatureTag
org.ff4j.web.taglib.FeatureTagDisable
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class FeatureTagDisable extends AbstractFeatureTag
Content of enclosing tag will be displayed if feature not enable.

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 invalid input: '&'invalid input: '&' otherCondition}">
       Your HTML code
     </c:if">
 
Author:
Cedrick LUNVEN
See Also: