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
/apps/foo/bar2/edit.html.jsp

Is this possible? I cannot modify /apps/foo/bar  and /content/page. But I
want .edit.html to be handled by /apps/foo/bar2.

Should I add a servlet with:
sling.servlet.resourceTypes = sling/servlet/default
sling.servlet.selectors = edit

to capture all .edit.html  and somehow "call" /apps/foo/bar2/edit.html.jsp
?  (maybe a redirect?)

Reply via email to