>  >  Looking at all of this, I currently tend to think, we should just switch
>  >  off this direct script execution and think about how to implement it,
>  >  should the need arise....
>
>
> Wouldn't it be trivially easy to just use a component that takes the
>  referenced content and executes it as a script? This needs no extra
>  support from the Sling framework, a simple component just like any
>  other should be enough.
of course, but then you need to create an extra node for each script
you want to execute. eg:

/apps/foo/test.jsp
/apps/foo/test
  sling:resourceType "/magic/exec/servlet"
  scriptPath="/apps/foo/test.jsp"

-- 
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to