Bug 34249

Summary: datagrid example 8 data boundary bug
Product: Taglibs Reporter: Jim <wee.jim.sng>
Component: Sandbox TaglibsAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: nightly   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description Jim 2005-03-31 11:06:31 UTC
The line

if ((toIndex = fromIndex + 4) >= employees.size ()) toIndex = employees.size 
() - 1

should be replaced by

if ((toIndex = fromIndex + 4) >= employees.size ()) toIndex = employees.size ()

to ensure that the last employee (Gary Oldman) appear on the last page
Comment 1 Henri Yandell 2009-07-10 00:40:50 UTC
This taglib has been deprecated, so I don't expect to see this worked on.