vinz_fr - 2007-01-24

Hi all,

In a DisplayTag table, I want to display all the rows without paging, so I don't set pagesize. The problem is I want to know how many rows there are. I've seen in the source code, in HtmlTableWriter.writeSearchResultAndNavigation() , that the number of elements will be displayed only if pagesize is different from 0, unless it's a paginatedList.
I don't understand why it works this way. The only solution for me now is to set pagesize, with a very high number and hope it will never be reached. That doesn't make sense to me.
Does anybody know why can't we display the number of rows without setting pagesize ?

Thanks in advance

--
Vincent