title: Nested ui:include and retaining ui:param issue
body: <p>I'm not able to retain values across nested ui:include passed by ui:param</p>
  
  <p>So say,
  page1.xhtml contains</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ui:composition template="../template.xhtml" xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui"&gt;
    &lt;ui:param name="paramGlobal" value="123" /&gt;
    &lt;ui:define name="content"&gt;
      &lt;h:form id="frm1"&gt;
        &lt;f:view&gt;
          &lt;ui:include src="page2.xhtml"&gt;
            &lt;ui:param name="paramInclude" value="abc"&gt;&lt;/ui:param&gt;
          &lt;/ui:include&gt;
        &lt;/f:view&gt;
      &lt;/h:form&gt;
    &lt;/ui:define&gt;
  &lt;/ui:composition&gt;
  </code></pre>
  
  <p>and page2.xhtml contains</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui"&gt;
    &lt;p:panelGrid columns="2"&gt;
      &lt;p:outputLabel value="Page 2"&gt;&lt;/p:outputLabel&gt;
      &lt;p:outputLabel value="Value"&gt;&lt;/p:outputLabel&gt;
      &lt;p:outputLabel value="Global"&gt;&lt;/p:outputLabel&gt;
      &lt;p:inputText value="#{paramGlobal}"&gt;&lt;/p:inputText&gt;
      &lt;p:outputLabel value="Param Include"&gt;&lt;/p:outputLabel&gt;
      &lt;p:inputText value="#{paramInclude}"&gt;&lt;/p:inputText&gt;
      &lt;ui:include src="page3.xhtml"&gt;
        &lt;ui:param name="paramNestedInclude" value="def"&gt;&lt;/ui:param&gt;
      &lt;/ui:include&gt;
    &lt;/p:panelGrid&gt;
  &lt;/ui:composition&gt;
  </code></pre>
  
  <p>and finally page3.xhtml contains</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui"&gt;
    &lt;p:outputLabel value="Page 3"&gt;&lt;/p:outputLabel&gt;
    &lt;p:outputLabel value="Value"&gt;&lt;/p:outputLabel&gt;
    &lt;p:outputLabel value="Global"&gt;&lt;/p:outputLabel&gt;
    &lt;p:inputText value="#{paramGlobal}"&gt;&lt;/p:inputText&gt;
    &lt;p:outputLabel value="Param Include"&gt;&lt;/p:outputLabel&gt;
    &lt;p:inputText value="#{paramInclude}"&gt;&lt;/p:inputText&gt;
    &lt;p:outputLabel value="Param Nested Include"&gt;&lt;/p:outputLabel&gt;
    &lt;p:inputText value="#{paramNestedInclude}"&gt;&lt;/p:inputText&gt;
  &lt;/ui:composition&gt;
  </code></pre>
  
  <p>The output I get is like this:</p>
  
  <blockquote>
    <p>Page 2                Value</p>
    
    <p>Global:               [blank]</p>
    
    <p>Param Include:        abc</p>
    
    <p>Page 3:               Value</p>
    
    <p>Global:               [blank]</p>
    
    <p>Param Include:        [blank]</p>
    
    <p>Param Nested Include: def</p>
  </blockquote>
  
  <p>I'm not able to figure out why ui:param is not being passed in the included pages.</p>