You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/03/08 09:07:59 UTC
[jira] Resolved: (WICKET-3486) zero based NavigatorLabel
[ https://issues.apache.org/jira/browse/WICKET-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3486.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC3
Assignee: Igor Vaynberg
> zero based NavigatorLabel
> -------------------------
>
> Key: WICKET-3486
> URL: https://issues.apache.org/jira/browse/WICKET-3486
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5-M1, 1.5-M2.1, 1.5-M3, 1.5-RC1, 1.5-RC2
> Reporter: Alexander Mayer
> Assignee: Igor Vaynberg
> Labels: NavigatorLabel
> Fix For: 1.5-RC3
>
>
> after WICKET-2816 NavigatorLabel.getFrom() now zero based
> please return "+1" in this method:
> public int getFrom() {
> if (getOf() == 0) {
> return 0;
> }
> return pageable.getCurrentPage() * pageable.getItemsPerPage(); <------------------------ +1
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira