[Seaside] Updating two divs from the same updater?

Sebastian Sastre ssastre at seaswork.com
Wed Oct 10 12:23:41 UTC 2007


I think I would make the updater to render the component that owns that two
components
 
Sebastian Sastre

 


  _____  

De: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] En nombre de Alejandro
Martínez
Enviado el: Miércoles, 10 de Octubre de 2007 05:34
Para: seaside at lists.squeakfoundation.org
Asunto: [Seaside] Updating two divs from the same updater?


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
solution?
Cheers




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071010/bda51688/attachment.htm


More information about the seaside mailing list