Hi Alex, On Wed, Aug 15, 2012 at 7:30 PM, Alexander Klimetschek <[email protected]> wrote: > I had an interesting use case, which could be solved by allowing something > like this in the Sling POST servlet: > > *@Delete = true > > Which would delete all properties and child nodes of a node, without the > client knowing which are there...
I dunno...this starts sounding like a Node Manipulation Language - right now IIRC the POST servlet just mimics the basic JCR node CRUD operations, but once you start introducing set operations things might get hard to follow. > ...Note that I already wrote a special servlet to handle my case, so this > might not be too important... My first reaction is that it's clearer/safer to write servlet or scripts to handle such cases, but I'm open to other opinions. -Bertrand
