On Thu, Feb 12, 2009 at 9:55 PM, Mark Derricutt <[email protected]> wrote:
> Does sling provide any OSGi services for looking up/retrieving
> rendered/formatted content via code?

Not sure what you mean.... Do you want to get the result of a request
(eg. the HTML from a response) programmatically inside a bundle
running in Sling? I guess you can do it via standard servlet API by
retrieving the SlingMainServlet and calling the service method on it -
but you have to provide your own request and response objects for it,
since Sling expects http as environment. Don't know if there are
wrappers available....

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to