[Seaside] jQuery Serialization
Robert Sirois
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?
RS
> 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.
>
> Cheers,
> Lukas
>
> 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
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_________________________________________________________________
Windows Live™ Hotmail®: Spread the word when you add celeb photos to your e-mails. Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_celebrity_photos1_072009&cat=celebrity
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090710/22ce25f2/attachment.htm
More information about the seaside
mailing list