Hi, I'm not sure if I understand your use case correctly, however the simplest solution which comes to my mind is to register a for the selector and then do an include with the new resource type.
Carsten 2012/4/10 Sandro Boehme <[email protected]>: > 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 -- Carsten Ziegeler [email protected]
