2 Replies Latest reply on Feb 5, 2009 7:33 AM by timbooo

    calling nodeSelectionListener manually?

    timbooo

      hi there,

      is there a way to call the nodeSelectionListener from a tree manually by my backingbean?
      currently, i'm dynamically removing and adding childs to the rootnode. and by deleting a node, i'm selection another node - works fine. but the selectionlistener won't be fired.


      any help will be appreciated.
      kind regards,
      tim.

        • 1. Re: calling nodeSelectionListener manually?
          ilya_shaikovsky

          why you just can't execute actions you need right from your actions which performs deletion?

          • 2. Re: calling nodeSelectionListener manually?
            timbooo

             

            "ilya_shaikovsky" wrote:
            why you just can't execute actions you need right from your actions which performs deletion?

            deleting the node works fine.
            after deletion i want to select another node. selection works fine too with adviseNodeSelected attribute. however the nodeSelectionListener would reRender my main panel which doesn't happen because he won't be called when i select a node by the adviseNodeSelected attribute.
            do you understand what i mean, i don't know how to explain right.


            kind regards,
            tim.