title: How to use EL conditional operator in JSF component attribute?
body: <p>I need to dynamically choose the width of a <code>&lt;p:panelGrid&gt;</code> based on a backing bean property. However it is not working for me. I have a feeling that I have some syntax error in my code.</p>
  
  <pre><code>&lt;p:panelGrid style="width:#{myBean.fromCCRM} ?70%:90%"&gt;
      ...
  &lt;/p:panelGrid&gt;
  </code></pre>