If there is only one item on the last page of a datatable,
datascroller then the next buttons disappear
-------------------------------------------------------------------------------------------------------
Key: RF-245
URL:
http://jira.jboss.com/jira/browse/RF-245
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Mark Spritzler
Assigned To: Aleksej Yanul
Fix For: 3.0.1
If you set your rows to any number, and the number of entries in the datatable is just
one more than a multiple of that page, then the next buttons are not enabled, when they
should be. Check...
I noticed lines of code in UIDataScroller.java in the setControls method
if ((rowCount - 1)<=(getFirstRow(dataTable)+getRows(dataTable))){
Maybe the rowCount -1 and <= is the reason why you don't get the
"forward" moving buttons when a new page gets created and it only has one row.
so (rowCount-1) would equal 0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: