> > > 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" > > > Why can't you just attach the special sling:resourceType to the test.jsp node? hmm.. that might work. so actually the 'x-flag' on the script. but then you're not able to address the script anymore via webdav in order to get it's content
-- -----------------------------------------< [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 >---
