Esteban A. Maringolo
emaringolo at gmail.com
Mon Mar 3 01:09:43 UTC 2014
I added the #json: method as you suggested.
It seems to be working (I put a halt in the #json: callback and it
halted), the only problem is that it is causing a full page reload (as
a normal callback), and then the success function callback is never
called on the client.
This is the code I'm using:
html form: [
onClick: (html jQuery ajax
html jQuery getJson
json: [:json | self renderJsonResponseOn: json ];
ps: Is there a way to generate pretty-printed JS and HTML source?
More information about the seaside