3 Replies Latest reply on Nov 15, 2011 4:40 AM by iabughosh

    RF 4.1 M3 tree issue

    iabughosh

      Dears,

      I've a tree in my app and i'm using a4j:jsFunction with onbeforetoggle event on the tree node, it was working perfectly with RF 4.1 M1 & M2, but it doesn't work now with M3, is this a bug ?.

       

      regards.

        • 1. Re: RF 4.1 M3 tree issue
          lfryc

          Hello Ibrahim,

           

          I have tried to define onbeforetoggle in Showcase tree sample and it works fine,

           

          could you please try to narrow it down and provide sample which is not working for you?

           

           

          Thanks,

           

          ~ Lukas

          • 2. Re: RF 4.1 M3 tree issue
            iabughosh

            thanks for the reply fryc, i'm using treeModelRecursiveAdaptor :

            <rich:tree id="tree"

                                                                                     var="node"

                                                                                     nodeType="#{node.type}"

                                                                                     toggleType="ajax"

                                                                                     selectionType="ajax">

                                                                        <rich:treeModelRecursiveAdaptor roots="#{myBean.roots}"

                                                                                                                                                        nodes="#{node.folders}">

                                                                                  <rich:treeNode title="#{node.path}"

                                                                                                                   type="folder"                                                                                                                

                                                                                                                   onbeforetoggle="getSelectedPath('#{node.path}')"

                                                                                                                   toggleListener="#{docxTree.treeToggleListener}">

             

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

                                                                                  </rich:treeNode>

                                                                        </rich:treeModelRecursiveAdaptor>

                                                              </rich:tree>

             

            it was working on RF 4.0,4.1 M1 and M2, but it doesn't in M3.

             

            thanks.

            • 3. Re: RF 4.1 M3 tree issue
              iabughosh

              thanks, it resolved at M4.