On Tue, Jul 22, 2008 at 2:54 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Bertrand Delacretaz wrote: >> >> How about having the PostServlet lookup scripts using a special method >> name for this? >> >> For example, /apps/foo/AFTER_POST.esp could be the PostServlet >> postprocessor for the foo resource type. >> >> The PostServlet would then >> 1) Lookup the script as above, using the standard ScriptResolver, and if >> found: >> 2) Put the list of changes in the script context >> 3) Execute the script, which might modify the list of changes >> 4) Save the resulting changes, or handle an OperationVetoException, etc. >> > Hmm, yes, this might work - I think we should first add the post processing > in general and can then make the scripting work in a second step.
Agreed - the scriptable post processing would then be one instance of the postprocessing service. -Bertrand
