List Info

Thread: wrong navigation bar rendering in tr:table




wrong navigation bar rendering in tr:table
country flaguser name
Italy
2007-09-24 04:21:42
Hi all, I noticed a rendering bug in tr:table whenever the
underlying 
model returns -1 (unknown) from getRowCount and paging is
used: assuming 
a block size of 10, then a link "next 10" is
rendered for the very last 
page, while is should be disabled.
A potential fix might be achieved by placing in 
SelectRangeChoiceBarRenderer, after line #375:

if (!hasNextRecords) nextRecords = 0;

-- Renzo


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )