Cheers Matthew!
Hi Simon,
Thanks for the feedback. I've changed the behavior to be more sane--
if you go beyond the last page it now just sends you to the last
page. In the same vein, entering a number less than 1 (if your
routing rules allow it) will now send you to the first page instead.
-Matt
On Tue, Jun 10, 2008 at 5:31 PM, Simon Mundy
<[EMAIL PROTECTED]> wrote:
Hi Matthew
Looking good!
I noticed with the online demo that the exception for invalid page
range can be thrown by unintentional interaction from the user.
Say you have navigated to page 30 with 17 items per page. If you
then click 20 items per page... 'boom!' .
Is there scope for the view helper to determine a valid page number
based on the existing parameters?
Hi everyone,
I'm happy to announce that Zend_Paginator is ready for community
review. The code's all written and there's even an online demo.
http://framework.zend.com/wiki/pages/viewpage.action?pageId=43560
Please take a look and let us know what you think. If all goes as
planned, we're hoping to include this in Zend Framework 1.6. :-)
-Matt
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com