• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

vvOut.buffer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vvOut.buffer

    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

  • #2
    Are you seeing 6 "success" values in the response?

    Comment


    • #3
      I sure am..

      Comment


      • #4
        All at the same level? Or within each root? You have control when/if you want to output success via vvOut.success.

        Comment


        • #5
          Setting vvOut.success='' did the trick..

          Comment

          Working...
          X