Hi,

Thanks for summarizing. There is just one minor error:

Am Dienstag, den 20.11.2007, 14:26 +0100 schrieb Bertrand Delacretaz:
> 4. If no Servlet is found, the ScriptResolver looks for a script,
> building its path as follows:
> 
>     /sling/scripts/RT/ME.EXT
> 
> Where
> 
>   RT is the resource type computed in 2, filtered to make sure it is a
> valid JCR path
> 
>   ME is the HTTP request method name (POST, PUT) uppercased, or, for the GET
>   method, the extension found in the request (html, xml, etc.), lowercase.
> 
>   (actually it's the content-type, not extension, but I think we just
> agreed to use
>   the extension)
> 
>   EXT is a script extension that is acceptable for one of our script engines
>   (esp, js, vlt, ...)

The path is actually /sling/scripts/RT[/SEL]/ME.EXT

where SEL is the selectors, which are inserted in the path after
converting dots to slashes; all first and then cutting off path elements
until no selector parts remain. E.g for selectors "some.print.a4", the
paths ../some/print/a4/.., ../some/print/.., ../some/.., ../.. are
tested.

Regards
Felix

Reply via email to