[Seaside] Checkboxes

Robert Sirois watchlala at hotmail.com
Tue Nov 24 17:08:33 UTC 2009


I got what I wanted to work with a standard form submission type callback, but the checkboxes don't seem to respond to an #onChange: event such as:

... onChange: html jQuery ajax serializeThis; ...

I would assume these work as any other form element...

RS

> From: renggli at gmail.com
> Date: Mon, 23 Nov 2009 22:08:33 +0100
> Subject: Re: [Seaside] Checkboxes
> To: seaside at lists.squeakfoundation.org
> 
> > Just to confirm I'm getting this right:
> >
> > WACheckboxTag >> #onTrue:onFalse: is evaluated in the case of a form
> > submission or #serialize?
> >
> > Also, can I use the standard ... callback: [:value | self checkboxValue:
> > value]; ... type logic?
> 
> Sure, the #onTrue:onFalse: is just an convenience method implemented
> on top of the standard #callback: thing.
> 
> 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
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20091124/87ae91e8/attachment.htm


More information about the seaside mailing list