[Seaside] Responding to Ajax call with JSON
johan at inceptive.be
Wed Jan 1 09:12:37 UTC 2014
> 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?
Yes, we’re using X-editable in a project in development. It’s not finished but let me put it online asap.
More information about the seaside