Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1347

Path Based Resource Type Provider only works for nt:unstructured nodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Path based RTP 2.0.4
    • Samples
    • None

    Description

      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

      Attachments

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            bdelacretaz Bertrand Delacretaz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: