[
https://issues.apache.org/jira/browse/SLING-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated SLING-491:
-----------------------------------
Attachment: rel_resourceType.patch
simple change that allows ./ resource types (other relative stuff, like ../../)
is not implemented.
> 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 JSP
> Affects Versions: 2.0.0
> 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.