[Seaside] SUInsertion + SUSortable - Evalscripts needed?

Lukas Renggli renggli at gmail.com
Mon Dec 10 06:37:07 UTC 2007


> The children of any node (including subtrees) are
> sortable, including newly inserted nodes.

Presumably this won't work as script.aculo.us has some well known
problems with drag and drop of nested elements. As you can read in the
documentation [1] you have to pay attention to the order you register
the droppable. Sortables have a tree option [2] that probably goes
into the direction you want, but it is slow and rather buggy. For me
none of these techniques worked in all browser. I had to write my own
JavaScript code to get drag and drop for nested elements.

> #evalScripts: true

That's default for quite some time now.

Cheers,
Lukas

[1] http://wiki.script.aculo.us/scriptaculous/show/Droppables.add
[2] http://wiki.script.aculo.us/scriptaculous/show/Sortable.create

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list