Im not sure this is a good idea. For example, when using pageabledataview
lets say at the time of request 1 you have 4 pages so the navigator will
draw 4 links, use clicks page 4 and at that time there are only 3 pages
because some rows were deleted. In this situation would you like to deal
with the exception or just let the listview default back to first page and
only draw 3 navigation links? When the new navigation is done we can make it
smarter and based on the index default ot the first or last page.


-Igor
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Gili
> Sent: Tuesday, August 16, 2005 8:17 AM
> To: [EMAIL PROTECTED]
> Subject: [Wicket-user] DataView.setStartIndex()
> 
> 
>       We should be throwing a IndexOutOfBoundsException if 
> the index is invalid, shouldn't we? Right now we silently set 
> the index to zero, which might be at all what the user intended.
> 
> Gili
> --
> http://www.desktopbeautifier.com/
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * 
> Testing & QA
> Security * Process Improvement & Measurement * 
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to