Thursday, March 03, 2005
Tapestry contrib:Table without paging
Turns out the default page size of the table component is 10. It is controlled by pageSize parameter. I could not locate any documentation on how to turn off paging altogether. In the code it looks like any negative value should result in rendering only one (possible long) page.
I am not sure if we should increase the default to some reasonable value (25, 50?) or just set it to -1 on the tables that we pretty much know are not going to have many entries (Gateways, Dial Plans).
I do not think there is a way to change the default globally (it's a static constant). So it looks like we are have to touch the code on all the pages...