2 Replies Latest reply on Aug 5, 2011 6:50 PM by iabughosh

    rich:tree toggleType="ajax" issue.

    iabughosh Master

      Dears,

      I'm using rich:tree (RF 4) in my page, everything is ok if the toggleType value is client or server, but when i use ajax it toggles only once, any ideas will be great.

       

               <rich:tree id="tree"

                             var="item"

                             value="#{tree.rootNode}"                      

                             nodeType="#{item.type}"

                             selectionType="ajax"

                             toggleType="ajax">               

                      <rich:treeNode id="jobNodes" type="job" title="Job">

                          <h:outputText value="#{item.label}" />

                      </rich:treeNode>               

                      <rich:treeNode id="leafNodes" type="leaf" title="leaf">

                          <h:outputText value="#{item.value}" />

                      </rich:treeNode>

                 </rich:tree>

      regards.