title: <ui:include> with dynamic src does not invoke setters on backingbean
body: <p>I have a <code>first.jsf</code> in which I include <code>second.xhtml</code> in the following way:</p>
  
  <pre><code>&lt;ui:include src="#{firstBean.srcForSecond}" /&gt;
  </code></pre>
  
  <p>This works fine and renders the contents of <code>second.jsf</code>. I included it using EL as the included content changes based on some conditions.</p>
  
  <p>My <code>second.xhtml</code> contains a simple input text box:</p>
  
  <pre><code>&lt;h:inputText id="firstname" value="#{secondBean.firstName}" /&gt;
  </code></pre>
  
  <p>When I load the page the value for firstname is rendered properly. However, when I change the value in the text box and submit, the setter on the backing bean is never invoked.</p>
  
  <p>However if I change the <code>ui:include</code> in the following way, it works:</p>
  
  <pre><code>&lt;ui:include src="second.xhtml" /&gt;
  </code></pre>
  
  <p>But, I require to use EL expression as it could be <code>second.xhtml</code> or <code>third.xhtml</code> based on some conditions.</p>
  
  <p>Can anybody explain whats going on and how to fix it?</p>