Jsf include dinamico

Galera, vi aqui mesmo no forum alguns cassos sobre esse problema porem não consegui resolver o meu problema com esses topicos por isso estou escrevendo este tenho o seguinte codigo

<ui:fragment rendered="#{cc.attrs.managedBean.renderer}">
    	
    		<div id="tabs">
			  <ul>
			  	&lt;ui:repeat value="#{cc.attrs.managedBean.list}" var="teste"&gt;
			  		<li>
			  			<a >#{teste.title}</a> 
			  			&lt;h:commandLink actionListener="#{cc.attrs.managedBean.removeView}" value="x" style="color:red;" &gt;
			  				&lt;f:attribute name="tabId" value="#{teste.idTab}" /&gt;
			  			&lt;/h:commandLink&gt;
			  		</li>
	    		 &lt;/ui:repeat&gt;
			  </ul>

			  &lt;ui:repeat value="#{cc.attrs.managedBean.list}" var="teste"&gt;
			  	&lt;div id="#{teste.idDiv}"&gt;
			  		&lt;ui:include src="#{teste.pathFile}" /&gt;
			  		&lt;h:outputLabel value="#{teste.pathFile}" /&gt;
	 			&lt;/div&gt;
	    	  &lt;/ui:repeat&gt;
			&lt;/div&gt;
    	
    	&lt;/ui:fragment&gt;

e esses links são que adicionam as telas para o meu tab view

&lt;h:commandLink value="Page One" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page1"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Two" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page2"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Three" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page3"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Four" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page4"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Five" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page5"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Six" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page6"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Seven" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page7"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Eight" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page8"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;
			<br></br>
			&lt;h:commandLink value="Page Nine" actionListener="#{testeBean.addPage}" &gt;
				&lt;f:attribute name="page" value="page9"/&gt;
				&lt;f:attribute name="bean" value="#{tabBean}"/&gt;
			&lt;/h:commandLink&gt;

porem o include que tendo fazer não funciona, alguem ja passou por isso sabe como resolver isso ?

obrigado

Amigo,
Mas acontece exatamente o que, não funciona? Não abre? Dá algum erro? Ficou genérica a pergunta.

CristianPalmaSola10, dá estouro de pilha, certo?

Há um tempo, eu tive o mesmo problema e não consegui resolver. Tive que apelar pra algo não muito bacana… Estimei a quantidade máxima de iterações, que no meu caso, não seria muito alto, e criei uns 4 ou 5 arquivos… sim, fiz isso :stuck_out_tongue:

Tinha que fazer funcionar e não podia ficar enrolando :confused: Rapaz, se vc conseguir resolver, posta aqui que vou querer saber.