title: When is the ui:fragment rendered attribute evaluated
body: <p>Is the ui:fragment's rendered attribute evaluated during every phase in the JSF lifecycle. I am sure it is evaluated in the RENDER_RESPONSE phase as I would expect it to be, but isn't it also evaluated through APPLY_REQUEST_VALUES, PROCESS_VALIDATIONS, UPDATE_MODEL_VALUES and INVOKE_APPLICATION as well.</p>
  
  <p>The reason is we render some ui:fragment based on data from the database. It is a tag we have authored. We only render the contents of the ui:fragment i.e the authored tag, if there is some data in the database. Is there some way to avoid all these calls and only do it once per request-response life cycle. This is what it looks like</p>
  
  <pre><code>&lt;ui:fragment rendered="{some values exist in db}"&gt;
     &lt;ourtags:sometag&gt;
  &lt;/ui:fragment&gt;
  </code></pre>