[Seaside] Re: SUInsertion + SUSortable - Evalscripts needed?

Lukas Renggli renggli at gmail.com
Mon Dec 10 17:36:25 UTC 2007


> > I had to write my own
> > JavaScript code to get drag and drop for nested elements.
>
> Any chance this is non-commercial / shareable?

No probably not. It only works for a very specific use-case anyway.

Try to make your objects non-nested. This usually works. For example
for a tree, you just make sure that you don't drag the node with the
children, but just the node itself. In the picture below this means
you just drag around the <..>-part.

<1>
    <1.1>
    <1.2>
        <1.2.1>

Lukas

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


More information about the seaside mailing list