Monday 15 March 2010

Endless loop in smartGWT listgrid retrieving data from REST back end

So you have written your DataSource, instantiated your ListGrid and tested the calls to your back end REST (e.g. Rails controller) in your browser. You know that the back end is delivering the data in correct JSON, but yet your smartGWT is looping endlessly, loading the data.

The console shows no errors but loads of RPC calls.

Check your record XPath in your DataSource.The value given for the call to setRecordXPath must match precisely the JSON data path. If you get this wrong, smartGWT fails silently, looping forever attempting to get the records and it knows from the meta data should be there!

2 comments:

  1. Titanium D-Stem-Malt - Titanium-Arms - Titanium D-Stem-Malt
    Titanium - Armature-Length citizen promaster titanium Blade tube supplier - Weight, Height, หาเงินออนไลน์ Depth, joico titanium and Shape: titanium white rocket league 5.75”-8”-10”-1”.

    ReplyDelete
  2. How to get $10 free when you play casino games online
    Step 2: Make a first deposit with your first two funds. · Step 3: Create a new account 퍼스트카지노 by making a minimum of $10 · Step 4: 소울 카지노 Click “Claim” · Step 5:

    ReplyDelete