PDA

View Full Version : Quick Database return question



alex1001
7 Apr 2010, 2:20 AM
Hi,

My knowledge of Extjs is very weak, so excuse me for this simple question...

I want to append a return value after executing somethng on the sever.

At the moment I am returning :



{success: true}


My question is can I append something to this ie a value like 10, if so how and how would I then read this value in Extjs.



Cheers,

Alex.

ExtJSBeginner
7 Apr 2010, 5:58 AM
you could send back a http error from the server if something's wrong which you then can catch in extjs.