[Seaside] Re: Form, serialize:, answer: and callback:
johan at inceptive.be
Wed Jun 12 05:35:50 UTC 2013
answer: does not work in an Ajax callback.
Is there a reason to use Ajax when you want to do a full page refresh anyway?
I.e.: you could submit the form using a normal callback.
On 12 Jun 2013, at 00:51, Dav <lasmiste at gmail.com> wrote:
> Blah, the forum stripped away my code.
> So that's the code:
> html form:[
> html anchor onClick:(html jQuery ajax serializeForm callback: [self answer:
> itsVisit ]);
> Dav wrote
>> I've a form I have to submit via ajax. The form is in a component called
>> via call:, when the form is submitted I want to return to the previous
>> Here's my code
>> Form is submitted, but answer: does not return to the previous component
>> even if it is executed (I know because I put a halt in the callback
>> Can anyone explain why and how to solve it?
> View this message in context: http://forum.world.st/Form-serialize-answer-and-callback-tp4692893p4692894.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside