On 14 November 2012 09:35, David G. <[email protected]> wrote:
> Is there any mechanism in Sling that would let me inspect/modify the
> output a resource after it has been fully evaluated against its
> renderer? Similar to the sling rewriter pipeline but a hook that
> occurs after each resource include?

If by output of a resource you mean the response object, then IIRC you
can perform servlet request dispatch operations that will enable you
to process the output of an internal request. There are some helper
classes for wrapping requests. That will give you raw low level access
to the rendered response from a resource. Just ask for pointers if
that made no sense.

>
> Likewise, is there any other documentation on the Sling rewriter
> pipeline? Im not too familiar w all the SAX eventing and what
> could/should (use cases) happen in Generators, Transformers and
> Processors.

Does this help (sorry if youve read it) ?
http://sling.apache.org/site/output-rewriting-pipelines-orgapacheslingrewriter.html

or is it the Cocoon terminology you are after ?
(only for terminology)
http://cocoon.apache.org/2.1/userdocs/generators.html
http://cocoon.apache.org/2.1/userdocs/transformers.html


Ian

Reply via email to