[Seaside] Re: SU updater or SU element - how to affect multipleelements?

itsme213 itsme213 at hotmail.com
Tue Dec 11 02:43:25 UTC 2007


And that block is evaluated on a subsequent trip back on the server side? 
Wow! This is amazing.

How do I chain these e.g. to get both a hide/show (with html evaluator) and 
some DOM change (with html updater) from the same onClick?

Sophie.


"Lukas Renggli" <renggli at gmail.com> wrote in message 
news:67628d690712101406u60c4ac09ja49da62a4aac2ff at mail.gmail.com...
>> I need to affect multiple elements (via html #update, or #element #hide,
>> #show). I know their IDs. How should I do this?
>
> html evaluator callback: [ :s |
>   s element id: 'first'; hide.
>   s element id: 'second'; show ]
>
> Lukas
>
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch 





More information about the seaside mailing list