On 03.09.2014, at 04:39, Sandro Boehme <sandro.boe...@gmx.de> wrote: > Both scripts are bound to the html extension and `my_resource_type` is more > detailed in the resource type hierarchy than `sling/servlet/default`. > But as I use the .jcrbrowser selector this gives my script a higher priority > than the other one anyways. > Is that correct? > > This is a more concrete scenario description than in my first email: > > URL: http://localhost/mynode.jcrbrowser.html > > ++ original ++ > sling:resourceType: my_resource_type > script: /apps/my_resource_type/html.jsp > > ++ overwritten by Sling JCRBrowser ++ > resource type: sling/servlet/default > script: /libs/sling/servlet/default/jcrbrowser/html.jsp
Yes, if you have a selector, than that is very specific and it should take the bottom one (sling/servlet/default), since there is no selector specific script in your /apps. Cheers, Alex