Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.8
-
None
-
None
-
JBoss 5.01GA with Sun's JSF RI, Ubuntu Linux
Description
Problem is in AbstractHtmlDataScroller.java, line 307 / 308
int rows = uiData.getRows();
int delta = rowcount % rows;
Rows obviously can be 0, so the code should read:
int rows = uiData.getRows();
int delta = rows != 0 ? rowcount % rows : 0;