[ 
https://issues.apache.org/jira/browse/SLING-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler reassigned SLING-1289:
---------------------------------------

    Assignee: Carsten Ziegeler
    
> Additional ScriptSelectionTest case
> -----------------------------------
>
>                 Key: SLING-1289
>                 URL: https://issues.apache.org/jira/browse/SLING-1289
>             Project: Sling
>          Issue Type: Test
>          Components: Servlets
>    Affects Versions: Servlets Resolver 2.0.8
>            Reporter: Julian Sedding
>            Assignee: Carsten Ziegeler
>            Priority: Trivial
>         Attachments: SLING-1289-ScriptSelectionTest.patch
>
>
> The ScriptSelectionTest covers only one way to specify scripts for POST 
> requests with a selector. Imagine resource /a with resource type foo/bar. A 
> POST request to /a.print.html will be handled by the following two scripts:
> /apps/foo/bar/print/POST.esp
> /apps/foo/bar/print.POST.esp
> So far only the first case is tested. The attached patch adds a test for the 
> second (IMHO more concise) syntax.
> I stumbled across this, because I was looking for documentation on the topic. 
> There is a wiki page[1] with some (outdated?) information on the topic, but I 
> couldn't find much more. Maybe I just missed it. If not, it would be nice to 
> get this documented on the sling website, with the examples section extended 
> to cover POST requests with selectors.
> [1] http://cwiki.apache.org/SLING/url-to-script-resolution.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to