You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/11/18 15:34:39 UTC

[jira] Commented: (SLING-585) Add "scriptSelector" to the sling:include tag

    [ https://issues.apache.org/jira/browse/SLING-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779467#action_12779467 ] 

Carsten Ziegeler commented on SLING-585:
----------------------------------------

Hi, I'm about to close this bug as there hasn't been an interest in this for more than one year.

> Add "scriptSelector" to the sling:include tag
> ---------------------------------------------
>
>                 Key: SLING-585
>                 URL: https://issues.apache.org/jira/browse/SLING-585
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>            Reporter: Tobias Bocanegra
>
> 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 include the "content.jsp" but respecting the resource type hierarchy.
> suggest to add: <slng:include scriptSelector="content" /> that internally overwrites the request selector during the script selection phase.
> see http://markmail.org/message/la4rvmcdd6whpvhl

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.