Class FeatureTagEnable

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

public class FeatureTagEnable extends AbstractFeatureTag
Taglib to filter display based on Feature status within FeatureStore.

Sample use

 <ff4j:enable featureid="mercure-desc">
 here your html code
  </ff4j:enable@gt;

 

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