You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org> on 2005/02/21 19:57:53 UTC

[jira] Resolved: (BEEHIVE-259) Data Grid: Default pagers Next Last links incorrect when pageSize equals list size

     [ http://issues.apache.org/jira/browse/BEEHIVE-259?page=history ]
     
Eddie O'Neil resolved BEEHIVE-259:
----------------------------------

      Assign To: Scott Symmank  (was: Eddie O'Neil)
     Resolution: Fixed
    Fix Version: V1Beta

Fixed; the lastPage value is calculated correctly now.

> Data Grid: Default pagers Next  Last links incorrect when pageSize equals list size
> -----------------------------------------------------------------------------------
>
>          Key: BEEHIVE-259
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-259
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>  Environment: WinXPsp2, IE6, tomcat, java 5.0
>     Reporter: Scott Symmank
>     Assignee: Scott Symmank
>     Priority: Minor
>      Fix For: V1Beta

>
> The pager thinks it has more items in its list than it does, when
> pageSize equals the list size.
> This happens for both prevNext and firstPrevNextLast.
> STEPS_TO_REPRODUCE:
> 1. PageFlow with Collection of 10 Integers, with public getter.
> 2. Configure a data grid to bind to that Collection, with a pager of pageSize=10, prevNext
> 3. The grid displays that it has 1 of 2 pages, and the Next link is available.
> 4. Next leads to an empty page.
> EXPECTATION:
> 1. The grid displays that it has 1 of 1 pages, and there is no Next link.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira