Re: got no pages from a data provider

2010-06-15 Thread Fernando Wermus
thanks On Tue, Jun 15, 2010 at 6:38 PM, Jeremy Thomerson wrote: > On Tue, Jun 15, 2010 at 4:30 PM, Fernando Wermus > wrote: > > > Hi all, > > > > For some reason *dataView* always passed first=0 and count=0. > > > > This is my code > > add(new DataView("amistades", new AmistadesProvider()) { >

Re: got no pages from a data provider

2010-06-15 Thread Jeremy Thomerson
On Tue, Jun 15, 2010 at 4:30 PM, Fernando Wermus wrote: > Hi all, > > For some reason *dataView* always passed first=0 and count=0. > > This is my code > add(new DataView("amistades", new AmistadesProvider()) { > private static final long serialVersionUID = 5328267159730501362L; > > public void p

got no pages from a data provider

2010-06-15 Thread Fernando Wermus
Hi all, For some reason *dataView* always passed first=0 and count=0. This is my code add(new DataView("amistades", new AmistadesProvider()) { private static final long serialVersionUID = 5328267159730501362L; public void populateItem(Item item) { User user=(User)item.getModelObject(); item.add