Hi There,
I wonder how I could write an Ajax callback that returns an HTTP 200
response code and a JSOn document as response contents. I am unable to
find any samples for this.
What do I need that for? I want to integrate the X-editable plugin (or
write my own) with Seaside. Since in Seaside, Ajax callbacks always
respond with an HTTP 200 and there is no built-in way of responding with
error codes, I happily found that X-editable has a mode in which it
accepts an HTTP200 and then scans a JSON response for the "real" success
or error info.
Has anybody done that? Maybe even with X-editable? How?
Joachim
--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel mailto:
[hidden email]
Fliederweg 1
http://www.objektfabrik.deD-71640 Ludwigsburg
http://joachimtuchel.wordpress.comTelefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside