[Seaside] two inputs one updater

Sebastian Sastre ssastre at seaswork.com
Mon Aug 10 11:41:30 UTC 2009


Ah.. mm ok, but then I don't get why is not the second model being updated.
I was aware of checkboxes and such. This inputs are just text inputs. I mean
both.
I'll give a look with the debugger when the parameters arrive to see if I get
more info about it
sebastian

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Lukas Renggli
> Enviado el: Monday, August 10, 2009 04:57
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] two inputs one updater
> 
> > 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
> 
> -- 
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list