title: Eclipse Facelet HTML Validator: Cannot apply expression operators to method bindings
body: <p>The Eclipse Facelet HTML Validator reports an error "Cannot apply expression operators to method bindings" for the following line:</p>
  
  <pre><code>&lt;ui:fragment rendered="#{!empty managedBean.getSomething('ENUM_VALUE', someInt)}"&gt;
  </code></pre>
  
  <p>I found this in the <a href="http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.jst.jsf.doc.user/html/tasks/jsf_elvalidation_prefs.html">Juno help</a> (I'm using Kepler):</p>
  
  <pre><code>Applying operator to method binding
  #{bean.action * 5}
  If bean.action indicates a method "action()" on bean, then it is not legal EL to treat its result as a value. In the example, multiplying action by 5 attempts treat it is as a value.
  </code></pre>
  
  <p>I'm having trouble understanding why it's not legal to treat its result as a value? What's the correct way to write the EL then? Thanks!</p>