[Seaside] Updating two divs from the same updater?

Alejandro Martínez alemartinez2112 at gmail.com
Wed Oct 10 08:34:29 UTC 2007

Hi. I'm using Scriptaculous and Seaside 2.7. Consider this case please.

I have :

select list SOURCE

select list A inside div A
select list B inside div B

I need to update both A and B with different data when I click an item of
SOURCE select list.

AFAIK in SOURCE list i can specify one div A or B but not both. The
following doesn't work for what I need:

html select
     onChange: ( html updater
                        id: 'A';
                        triggerFormElement: 'formId';
                        callback: [: r | self updateAOn: r.
                                             self updateBOn: r. ]

How can I update A and B using the same updater? Does anybody know the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071010/1fc3887e/attachment.htm

More information about the seaside mailing list