implicit sling:resourceType?

2011-03-03 Thread sam lee
Hey, I have a node: /content/page whose sling:resourceType = /apps/foo/bar So, GET /content/page.html will be handled by /apps/foo/bar/html.jsp I cannot modify sling:resourceType of /content/page. However, I would like GET /content/page.edit.html to be handled by

Re: implicit sling:resourceType?

2011-03-03 Thread Julian Sedding
Hi Sam I think the RequestDispatcherOptions[0] might be what you're looking for. It allows you to control certain aspects of re-dispatching (forwarding and including) a request, including forcing a different resource type. You could use this API in a servlet registered for the edit selector, as