0 Replies Latest reply on Nov 6, 2009 8:44 AM by Jochen Traunecker

    rich:page rich:tree not getting rerendered in facet sidebar

    Jochen Traunecker Newbie

      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>
      



      But with the tree being nested in the sidebar-facet, I couldn't get it expanded.

      <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>
      


      Any ideas?