I added the getNextSibling extension so that I can support some changes I made to the cq-groovy-console project. What I'm attempting to add is the ability to easily rename a node, but to retain the order of the renamed node, I had to identify the sibling directly after the node getting renamed. The getPrevSibling extension was added to be complete.
I added the getNextSibling extension so that I can support some changes I made to the cq-groovy-console project. What I'm attempting to add is the ability to easily rename a node, but to retain the order of the renamed node, I had to identify the sibling directly after the node getting renamed. The getPrevSibling extension was added to be complete.