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

Bertrand Delacretaz resolved SLING-1347.
----------------------------------------

    Resolution: Fixed

Implemented in revision 906160

> Path Based Resource Type Provider only works for nt:unstructured nodes
> ----------------------------------------------------------------------
>
>                 Key: SLING-1347
>                 URL: https://issues.apache.org/jira/browse/SLING-1347
>             Project: Sling
>          Issue Type: Improvement
>          Components: Samples
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> The samples/path-based-rtp module only handles nt:unstructured nodes, it 
> would be useful to optionally support other node types.
> This can be done by extending the configuration strings as follows:
> /content:2 
> applies to nt:unstructured nodes under /content, and uses the second path 
> element as the resource type
> /content:3:nt:file 
> applies to nt:file nodes under /content, and uses the third path element as 
> the resource type
> /content:2:(nt:*) 
> applies to node that match the supplied regular expression (in parentheses) 
> and uses the second path element as the resource type

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

Reply via email to