1 Reply Latest reply on Oct 19, 2009 10:26 AM by Andreas Hoehmann

    Next Node in Tree

    Matt Choate Newbie


      We would like to be able to have Next/Previous links outside of a rich tree that will move the selected node to the next sibling of the currently selected node. Is there a recommended approach for this? We are using a tree with ajax switch type.

      -matt

        • 1. Re: Next Node in Tree
          Andreas Hoehmann Newbie

          You can modify the underlying domain-model.
          Imagine a "TreeModifyBean" with actions (moveUp, moveDown,...)
          Place some commandButtons on your ui and specify reRender="tree"
          The Manager then can move the selected tree-node (the selected domain object) in the domain-model
          I did this already in a customer-project.