Hi Gilberto, I am using a data provider - the rowlist I was referring to was a method within dataprovider.Figured out my problem though so all good.
Thanks, Damian On Oct 14, 2011 5:04 AM, "Gilberto" <[email protected]> wrote: > Hi, Damian! > > RowList is a table old concept[1]. DataProvider[2] on the other end > are new one and provides data on demand to controls. Why are you > mixing the concepts? > > Regards, > > Gilberto > > [1] > http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setRowList(java.util.List) > [2] > http://click.apache.org/docs/click-api/org/apache/click/dataprovider/DataProvider.html > [3] > http://click.avoka.com/click-examples/source-viewer.htm?filename=WEB-INF/classes/org/apache/click/examples/page/table/TableSorting.java > > On Wed, Oct 12, 2011 at 3:13 AM, Damian Penney <[email protected]> wrote: > > 0 public void setRowList(List rowList) { > > 1 this.rowList = rowList; > > 2 if (this.rowList == null) { > > 3 this.rowCount = 0; > > 4 } else { > > 5 this.rowCount = this.rowList.size(); > > 6 } > > 7 } > > > > So in my debugger when the above code is called during the > > setDataProvider method it goes like this.... > > > > during line 1 rowList and this.rowList are null, then i step to line 2 > > still null, step over that and instead of it going to line 3 it ends > > up on 5 with the first page of data populated and my breakpoint on > > getdata never hits. What am I missing here? > > > > Damian > > >
