Hi,

I used the org.apache.sling.api.resource.ResourceDecorator service in version 2.2.3-SNAPSHOT to be able to render servlet resources from servlets that have been registered by path with my script (and not with the servlets themselfs). I did that by using the request from decorate(Resource, HttpServletRequest) to check whether it ends with my selector. If thats the case I return a ResourceWrapper whose resource type returns the one for my script. I've seen that in the latest trunk (version 2.2.5-SNAPSHOT of org.apache.sling.api) this method is deprecated and will never get called.

Is there an other way to accomplish my goal now?

Best,

Sandro

Reply via email to