Facelets Parameter has no value when passed to another page
===

I have a case like this where I include one file in another. but the page is more complex..
I sometimes get #{param2} with no value while #{param1} with a value. I even named the param some random name just to make sure there's no other param anywhere else with the same name that could be overwriting it.

Why could this happen, a ui:param who's value is overwritten by blank somehow?


In the first xhtml we include another file:

    <ui:include src="/myFile.xhtml">	
        <ui:param name="param1" 	value="stringvalue1" />
        <ui:param name="param2" 	value="stringvalue2" />
    </ui:include> 


myFile.xhtml

    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:s="http://jboss.org/seam/faces"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:c="http://java.sun.com/jsp/jstl/core"
        xmlns:fn="http://java.sun.com/jsp/jstl/functions"
        xmlns:p="http://primefaces.org/ui">
		
        #{param1}
        #{param2}
    </ui:composition>

