icfnext / aem-groovy-extension

OSGi bundle containing Groovy builders and metaclasses for Adobe Experience Manager.
http://icfnext.github.io/aem-groovy-extension/groovydocs/index.html
Other
4 stars 10 forks source link

Adding ability to get next/prev sibling from node directly. #1

Closed ghost closed 10 years ago

ghost commented 10 years ago

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.