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 2010/04/06 11:53:33 UTC

[jira] Resolved: (SLING-491) Allow relative resource type overrides in include tag

     [ https://issues.apache.org/jira/browse/SLING-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-491.
------------------------------------

    Resolution: Won't Fix

As explained the suggested patch is not the way to go and I don't think there is a need for the more complicated syntax. As there are simple workarounds, I'm resolving this issue as won'T fix

> Allow relative resource type overrides in include tag
> -----------------------------------------------------
>
>                 Key: SLING-491
>                 URL: https://issues.apache.org/jira/browse/SLING-491
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: 3
>            Reporter: Tobias Bocanegra
>            Priority: Minor
>         Attachments: rel_resourceType.patch
>
>
> it would be cool, if you can specify a relative resource type in a sling include, eg:
> <sling:include resourceType="./content" />
> assuming resource.getResourceType() == "/foo/bar" the override would be "/foo/bar/content" .

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