This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: Include dynamic generated jsf pageilya_shaikovsky Jun 5, 2007 7:45 AM (in response to ratondeau)<a4j:include viewId="#{bean.property}"/>
 works as expected for me.
- 
        2. Re: Include dynamic generated jsf pageratondeau Jun 5, 2007 10:06 AM (in response to ratondeau)ok let me clear up some things. 
 this ist my place where I include the page:<ui:define name="content"> <a4j:outputPanel layout="none" id="dynamicContent" ajaxRendered="true"> <a4j:include viewId="content.xhtml"/> </a4j:outputPanel> <ui:include src="/lms/incl/dialogs.xhtml"/> </ui:define> 
 and this the content.xhtml:<ui:composition> <h:outputText value="#{contentBean.content}"/> </ui:composition>
 contentBean:package com.fineo.elso.presentation.jsf.common; public class ContentHandler { private String content="<rich:panel><f:facet name=\"header\">Write your own custom rich components with built-in AJAX support</f:facet>text....</rich:panel>"; public String getContent() { return content; } public void setContent(String content) { this.content = content; } }
 if I include this I get<rich:panel><f:facet name="header">Write your own custom rich components with built-in AJAX support</f:facet>text....</rich:panel> 
 and not a Panel as expected. My goal is to create dynamic jsf pages that comes from a parser that should be rendered to whatever the result might be a div tag in case of the panel, table in case of h:panelGrid etc.
 Greets
 Matt
 
    