On 8/15/08, Alexander Klimetschek <[EMAIL PROTECTED]> wrote:
> 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
>
>  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/*.
i don't think that is a good idea. the script resolution is
complicated enough and this would even add more complexity to it.

regards, toby

>
>  WDYT?
>
>  Regards,
>  Alex
>
>
>  --
>  Alexander Klimetschek
>  [EMAIL PROTECTED]
>

Reply via email to