[Seaside] Seaside + Scriptaculous draggable onEnd: question

Lukas Renggli renggli at gmail.com
Fri Jul 25 16:03:33 UTC 2008


>  The question is what to put into onEnd: () ???

Some JavaScript code ;-)

For example, put the following code into #onEnd:, if you want to
trigger a callback on the server to get the new coordinates of the
rectangle:

html request
    callback: [ :value | value inspect ]
    value: (html element
         id: 'square-selector';
         offsetParent)

Cheers,
Lukas

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


More information about the seaside mailing list