I just discovered my problem, but I decided to post this because it may help
someone.

When using a DataView, be sure to use .setItemsPerPage( before using
.setCurrentPage( or else you will get the exception:
"IndexOutOfBoundsException: argument [page]=1, must be 0<=page<1"

Perhaps the documentation could make this obvious. ciao.
-- 
View this message in context: 
http://www.nabble.com/DataView-starting-Page-number-tp22710223p22710223.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to