hi all, i'm looking for a way to include a jsp script from within another but respecting the resource type hierarchy. so for example:
+ myapp + A + A.jsp + content.jsp + B - sling:resourceSuperType = "A" + B.jsp and in my B.jsp i want to do something like: <jsp:include script="content.jsp" /> this does currently work using selector includes, eg: <sling:include replaceSelector="content" /> but this has 2 draw backs: - it internally creates a 2nd request (which is actually not wrong, but not always needed) - it alters the 'selectors' for all subsequent includes (e.g. if the content.jsp does another include). might it be possible to hook into the jsp:include to respect the resource search path? or maybe adding a new "script" attribute to the sling:include tag ? WDYT ? regards, toby