title: JSTL c:if doesn't work inside a JSF h:dataTable
body: <p>I'm trying to use <code>&lt;c:if&gt;</code> to conditionally put a <code>&lt;h:outputLink&gt;</code> inside a <code>&lt;h:dataTable&gt;</code> when the state is finished.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;h:dataTable value="#{bean.items}" var="item" width="80%"&gt;
      &lt;h:column&gt;
          &lt;f:facet name="header"&gt;
              &lt;h:outputText value="State" /&gt;
          &lt;/f:facet&gt;
  
          &lt;c:if test="#{item.state != 'Finish'}"&gt;
              &lt;h:outputText value="Missing value" /&gt;
          &lt;/c:if&gt;
          &lt;c:if test="#{item.state == 'Finish'}"&gt;
              &lt;h:outputLink value="myLink"&gt;
                  &lt;h:outputText value="Value = #{item.state}" /&gt;
              &lt;/h:outputLink&gt;
          &lt;/c:if&gt;
      &lt;/h:column&gt;
  &lt;/h:dataTable&gt;
  </code></pre>
  
  <p>But this does not work, why is that and how can I fix it?</p>