[Seaside] two inputs one updater

Lukas Renggli renggli at gmail.com
Mon Aug 10 07:56:43 UTC 2009

> When I saw the implementation of triggerFormElement: I've though two parameters
> can came serialized in the POST so I've tried this:
>        updater
>                callback:[:h|
>                        self renderThoseTwoInputsOn: h];
>                triggerFormElement: idInput1;
>                triggerFormElement: idInput2;
>                yourself.

Sure, that's how it is ment to be used.

What kind of input fields are you using? Be sure to carefully consider
what is written in the method comment of #triggerFormElement: if any
of the input fields is a check-box or a multi-select list.


Lukas Renggli

More information about the seaside mailing list