[Seaside] Ajax callbacks on UI object events

Robert Sirois watchlala at hotmail.com
Sun Jun 6 17:21:33 UTC 2010

This code works on a click event on the div, but not with #onDrop: on the droppable as below:

    html div
        style: 'height: 55px; width: 55px; border: 1px solid; color: #A6A375'.
        script: ((html jQuery new droppable)
            tolerance: 'fit';
            onDrop: (html jQuery this droppable disable);
            onOut: (html jQuery this droppable enable);
            onDrop: (html jQuery ajax callback: [:value | Transcript show: value ] value: ((html jQuery this find: 'img') attributeAt: 'title'))

What is the reason why?

Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100606/2a44e90c/attachment.htm

More information about the seaside mailing list