PDA

View Full Version : I want to access to the result :p



shbayah
25 May 2010, 3:23 AM
Hi every body,
I use Ext direct plugin with symfony every think work but i can't access to the server result!

the symfony code:

$this->result = array("success"=>false, "errors"=>array("username"=>"Invalid Credentials"));the ExtJs code:

App.module.action({}, function(result){
console.log("result");});doesn't work!
I want to be able to have each value from the response too.

how can I do?

Thx

shbayah
25 May 2010, 4:23 AM
thx... I fix it!

success: function(form, action) {
console.log(action.result.success);

}