Search Type: Posts; User: jaycode
Search: Search took 0.02 seconds.
4 Jul 2012 10:58 PM
Hi, I have found this issue a couple of times so I found this rather annoying. My current solution is I had to (gulp!) edit the core files directly, I wonder if there is another way to override some...
Here is how I do server side validation with extjs4.
1. In model, prepare 'errors' field, something like:
extend: 'Ext.data.Model', ...
Additional note (something I just found out):
When store proxy is set to 'ajax', you can return record of the newly created object. This can solve the issue of extjs inability to do server...
I finally use:
$params = json_decode(file_get_contents( "php://input" ));
to get request parameters, and the recommended response from mdavis works.
Thanks mdavis, but I don't get it, how does it tell whether the operation successful or failed?
I found $HTTP_RAW_POST_DATA is the only variable can capture extjs' POST requests
I am now having trouble in server response... How to trigger success or failure in client?
Could you explain how to use the data sent to server?
with php, $_POST, $_GET, $_REQUEST does not show anything????
Results 1 to 7 of 7