title: Skip executing <ui:include> when parent UI component is not rendered
body: <p>I have the following construct at several places in my webapp in order to conditionally render page fragments depending on some actions:</p>
  
  <pre><code>&lt;h:panelGroup rendered="#{managedBean.serviceSelected == 'insurance'}"&gt;
      &lt;ui:include src="/pages/edocket/include/service1.xhtml" /&gt;
  &lt;/h:panelGroup&gt;
  </code></pre>
  
  <p>I have observed, that the <code>&lt;ui:include&gt;</code> is still executed even when the <code>rendered</code> attribute evaluates <code>false</code>. This unnecessarily creates all backing beans associated with the <code>service1.xhtml</code> file which is been included.</p>
  
  <p>How can I skip executing the <code>&lt;ui:include&gt;</code> when the parent UI component is not rendered, so that all those backing beans are not unnecessarily created?</p>