Hi Bertrand, are you sure this works? I thought registering with methods and seletors would not work at the moment (does not respect selectors afaik). I can't test it here right now so could someone else please check the code in the FAQ with the trunk?
Best regards, Dominik On Tue, Aug 11, 2009 at 11:55 AM, Bertrand Delacretaz < [email protected]> wrote: > Hi, > > On Tue, Jul 28, 2009 at 5:41 PM, Nicolaas > Matthijs<[email protected]> wrote: > > ...Let's say I've > > created a script at: > > > > /some/folder/examplescript.py > > > > I now want to be able to hit that URL directly and have Sling execute > that > > script for me... > > > ...I've also found this e-mail thread from quite a while ago: > > > > http://markmail.org/message/dyyfelg7vnwghnbh... > > FWIW, I have just added an entry to the Sling FAQ [1], with a more > complete example (after noticing Nicolaas' example on the Sakai list, > so we're kind of looping here ;-) > > -Bertrand > > [1] > http://cwiki.apache.org/confluence/display/SLING/FAQ#FAQ-Howtoexecutescriptsdirectly%3F >
