PDA

View Full Version : Grid does not load data



dmanchikalapudi
30 Jun 2010, 11:44 AM
I am trying to setup a grid. I have an object (say A) ... it has a list of objects (say List<B>). I already have the List<b> in the current context. The class definition of class B is


public class B implements BeanModelTag, Serializable {

I am taking the following steps to setup my grid


MemoryProxy<List<B>> proxy = new MemoryProxy<List<B>>(null);
proxy.setData(A.getListOfBObjects());
BeanModelReader reader = new BeanModelReader();
ListLoader<ListLoadResult<ModelData>> loader = new BaseListLoader<ListLoadResult<ModelData>>(proxy, reader);
loader.load();
ListStore<BeanModel> store = new ListStore<BeanModel>(loader);


What am I doing wrong here ? Why dont I see my grid being populated ?

jay@moduscreate.com
4 Jul 2010, 12:05 PM
moved to gxt help

sven
4 Jul 2010, 12:13 PM
You should try to post a fully working testcase that implements EntryPoint. Do you see any exceptions?