You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2010/02/03 18:33:28 UTC
[jira] Created: (SLING-1347) Path Based Resource Type Provider only
works for nt:unstructured nodes
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.
[jira] Updated: (SLING-1347) Path Based Resource Type Provider only
works for nt:unstructured nodes
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-1347:
---------------------------------------
Fix Version/s: Path based RTP 2.0.4
> 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
> Fix For: Path based RTP 2.0.4
>
>
> 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.
[jira] Resolved: (SLING-1347) Path Based Resource Type Provider
only works for nt:unstructured nodes
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ 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.