Hi Chetan, On Mon, Mar 24, 2014 at 12:19 PM, Chetan Mehrotra <[email protected]> wrote: > ...For now I am dong this by > 1. Defining a custom operation 'my_modify' > 2. Implement a custom org.apache.sling.servlets.post.PostOperation > 3. Internall in custom PostOperation [2] I do my pre processing and then > use a Service reference of default ModifyOperation > (sling.post.operation=modify) and delegate to that > 4. The client would now use ':my_operation' as part of POST form data...
This looks good to me, I don't think you can do better to implement pre-processing with the current POST servlet. That's where the proposed POST pipeline would help, but I don't think anyone is working on that right now. -Bertrand
