Hi Federico, On Thu, Jun 17, 2010 at 11:18 AM, Federico Paparoni <[email protected]> wrote: > I have a script ( > http://code.google.com/p/davidgsoc2010/source/browse/trunk/src/main/resources/initial-content/apps/david/list.esp) > that has a strange behaviour. If I call it on the root node, I have a plain > text as result. But if I append html suffix, then I have the script > executed. What is wrong with it?
The script looks ok in itself, though you could probably use parent/child navigation instead of a query (don't worry about that right now). Can you indicate exactly which URLs you use for "calling it on the root node", and "append html suffix"? Did you set a sling:resourceType on the root node? -Bertrand
