I think this is the right forum and not the Richfaces forum.
I'am using the Richfaces tree to perform some navigation. Depending on the selected node of the tree a different page should be displayed. Which page is decided by the backend and is read in the following way
<ui:insert name="main">
<ui:include src="#{display.mainXhtmlPage}" />
</ui:insert>
or
<ui:fragment id="mainform">
<ui:include src="#{display.mainXhtmlPage}" />
</ui:fragment>
My tree:
<rich:tree id="tree" switchType="ajax"
value="#{}" var="data"
nodeSelectListener="#...onSelect}"
ajaxSubmitSelection="true"
reRender="mainform"> ...
Unfortunately the mainform isn't rendered by the ajax request.
Is there any solution? Thanks in advance.
Facelets tags ui:insert and ui:fragment don't provide any html markup , and framework can't found it's place on a page. You can surround included pahe by h:panelGroup or a4j:panelOutput components.