Michael Marth wrote:
hi,
i like bertrand's proposal to make available the post servlet's methods in
scripts. that way we would not need to add additional script name resolution
logic. script authors could do whatever they want , but would not have to
reimplement existing functionality.
i also have 2 use cases for this at hand: a) adding mixins to newly created
nodes and b) creating new node versions (in the jcr sense) when changing
existing nodes. (of course, both cases could be handled by adding additional
params to the post servlet, but there will always be more examples for
custom requirements)
I'm not sure if the script approach is flexible enough. At the moment
I've several
use cases where I have to post process stuff. These use cases are
different parts of my application or different applications running in
the same sling instance.
I'm not sure if it's feasible to have one script doing this for all my
applications at the same time.
Therefore I think we should add a pre and post processing phase where it
is possible to register several addition processing steps. I'm planning
to come up with a proposal early next week. But of course if someone
comes up with a good proposal for doing this through scripts I'm all open.
Carsten
--
Carsten Ziegeler
[EMAIL PROTECTED]