Hello everybody,
I'm playing around with rich:page tag and can't get a rich:tree-component - nested in facet sidebar - rerendered with ajax-style.
My setup works pretty good, as I've tested it this way. The tree gets expanded, everything is fine.
<rich:page ... sidebarWidth="150" sidebarPosition="left"> <h:form> <rich:tree id="tree" switchType="ajax" value="#{bean.rootNode}" var="item" treeNodeVar="node" ajaxSubmitSelection="true"> <rich:treeNode> <h:outputText value="#{item.name}" /> </rich:treeNode> </rich:tree> </h:form> </rich:page>
<rich:page ... sidebarWidth="150" sidebarPosition="left"> <f:facet name="sidebar"> <rich:panel> <h:form> <rich:tree id="tree" switchType="ajax" value="#{bean.rootNode}" var="item" treeNodeVar="node" ajaxSubmitSelection="true"> <rich:treeNode> <h:outputText value="#{item.name}" /> </rich:treeNode> </rich:tree> </h:form> </rich:panel> </f:facet> </rich:page>