I have created a bundle to try this approach, and it seems to work fine
for me.
I did have to remove the sling.servlet.extensions property from my
servlet, because
that caused it to break for me (about a week ago), but other than that
my scripts are
running happily.
Nicolaas
> Dominik Süß wrote:
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]