[Seaside] Re: Form, serialize:, answer: and callback:
Dav
lasmiste at gmail.com
Tue Jun 11 22:51:13 UTC 2013
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 ]);
text:'ok'.
...
]
Dav wrote
> Hi,
> 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
> component.
>
> 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
> block).
> Can anyone explain why and how to solve it?
>
> Thanks
> Dave
--
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.
More information about the seaside
mailing list