bimargulies
23 Jul 2012, 7:30 AM
If I create a form panel, I have a 'submit' method for sending off the contents of the form to a server and getting called back on the results. I'm feeling a bit slow working through the doc on this, in fact, I've got some things working more by reverse engineering than reading the doc.
By default, this call expects the response from a service to be JSON, and to include a boolean named 'success'. I see why, since with iframes for file upload the HTTP status codes disappear. However, I can't find any doc that explains this. I also see a reference to an alternative action class to use if the result is going to be XML, but I haven't found an explanation of the whole structure.
I'd be most grateful for a pointer.
By default, this call expects the response from a service to be JSON, and to include a boolean named 'success'. I see why, since with iframes for file upload the HTTP status codes disappear. However, I can't find any doc that explains this. I also see a reference to an alternative action class to use if the result is going to be XML, but I haven't found an explanation of the whole structure.
I'd be most grateful for a pointer.