title: jsf render components with js
body: <p>Let's say I have </p>
  
  <pre><code>&lt;p:outputPanel/&gt;
  </code></pre>
  
  <p>What I want to do is to specify rendered attr using js method not serverside.
  This is for improving performance.
  So I need something like :</p>
  
  <pre><code>&lt;p:outputPanel rendered = "someJsFunction()"/&gt;
  </code></pre>
  
  <p>What is the solution?</p>