kensugi
10 Jul 2007, 12:29 AM
Hello, everyone.
I've been struggling to display server-side validation result after posting data for some hours...
The validation result is always success, althrogh the server send the following XML data.
<response success="false">
<errors>
<field>
<id>some-id</id>
<msg>error!!</msg>
</field>
</errors>
</response>
As result of debugging ext-all-debug.js and commented out some lines as followings, it works fine!!
processResponse : function(response){
this.response = response;
/*
if(!response.responseText){
return true;
}
*/
this.result = this.handleResponse(response);
return this.result;
}
It is bug, isn't it?
Thanks.
I've been struggling to display server-side validation result after posting data for some hours...
The validation result is always success, althrogh the server send the following XML data.
<response success="false">
<errors>
<field>
<id>some-id</id>
<msg>error!!</msg>
</field>
</errors>
</response>
As result of debugging ext-all-debug.js and commented out some lines as followings, it works fine!!
processResponse : function(response){
this.response = response;
/*
if(!response.responseText){
return true;
}
*/
this.result = this.handleResponse(response);
return this.result;
}
It is bug, isn't it?
Thanks.