Hi Sling devs,

sorry if this basic question has been answered before – I didn't find anything.

If I want to distinguish JCR item names belonging to my application from user-generated items, my first idea would be to use a prefix:

  /tutorial
    /app:content > nt:resource
    /content
      /chapter1

(How) is this compatible with Sling's URI mapping? I did some tests, but somehow I couldn't access a prefixed node (like app:content) over HTTP. Strangely, when I mount the repository via WebDAV, the folder name is "app/content" (not a hierarchy, but as the name of a single folder).

Is it discouraged to use node name prefixes in Sling? Should I use a naming convention instead, e.g. appContent?

TIA!

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01

Reply via email to