Hi,
Alexander Klimetschek schrieb:
Hi all,
if you use both the "standard" servlet/script resolution using an
explicit resource type (eg. myapp/foobar) and sometimes (for
convenience) via the node type (eg. my:type) you get mixed locations
for both scripts:
/libs/myapp/foobar
/libs/my/type
Just a quick question: Why don't you set your resource type to be
my/foobar or even my:foobar ?
So you are at
/libs/my/foobar
/libs/my/type
Regards
Felix
Often you'd like to put them together, which would organize your
repository much better, ie. like this:
/libs/myapp/foobar
/libs/myapp/my/type
Therefore do you think it is possible to extend the script resolution
for node types to search not only
/apps/<ns>/<nodetype>
/libs/<ns>/<nodetype>
but also to search via wildcards:
/apps/*/<ns>/<nodetype>
/libs/*/<ns>/<nodetype>
?
The first match would win. It's up to the developers to ensure only
one occurence of my:type under /apps/* or /libs/*.
WDYT?
Regards,
Alex