[Seaside] jQuery Serialization
watchlala at hotmail.com
Fri Jul 10 16:31:13 UTC 2009
Blah.. I've looked at those tests for hours. They drive me crazy heh. I only kind of understand what they are doing, but the way those tests work and the stuff I'm trying to do is somewhat dissimilar.
I have this:
onClick: (html jQuery ajax script: [:script |
script add: (script jQuery: (self clickFunctionNext: html))
which goes ahead and runs a method, returning some jQuery that shows and hides elements, as well as updating some class instance variables.
The problem I am having is doing radio buttons, check boxes, etc. for form serialization/validation. I'm not sure how: "find:':input'" works. Does it just go through and pick every input item on the page and serialize it?
> Date: Fri, 10 Jul 2009 18:13:20 +0200
> Subject: Re: [Seaside] jQuery Serialization
> From: renggli at gmail.com
> To: seaside at lists.squeakfoundation.org
> Normally you combine the serialization with an ajax request that
> triggers the callbacks of the form fields, have a look at
> JQFormFunctionalTest for examples.
> 2009/7/10 Robert Sirois <watchlala at hotmail.com>:
> > When I go to serialize a form element, can I do that with a component
> > method, or does everything have to be written to iVars first?
> > RS
> > ________________________________
> > Bing™ brings you health information from trusted sources. Try it now.
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> Lukas Renggli
> seaside mailing list
> seaside at lists.squeakfoundation.org
Windows Live™ Hotmail®: Spread the word when you add celeb photos to your e-mails. Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside