I am setting vvOut.buffer = '1' and then doing a combination of vvOut_toJSON() and vvOut_execSQLtoJSON(), then set vvOut.buffer='0' on the last one. It works in the Test RPG Call app, but...What are the potential ramifications of having 6 {success: true} tags in the response?
Normally, in the Ajax.request() success: function, I do
var r = Ext.decode(response.responseText);
If(r.success === true){
//do something
}
I'm guessing it just processes the 1st one it finds, but I'm not sure if I should be concerned about any issues that could arise trying to do it this way.
Thanks
Normally, in the Ajax.request() success: function, I do
var r = Ext.decode(response.responseText);
If(r.success === true){
//do something
}
I'm guessing it just processes the 1st one it finds, but I'm not sure if I should be concerned about any issues that could arise trying to do it this way.
Thanks
Comment