1. Ben Bangert
  2. WebHelpers
Issue #56 new

Paginate: split navigator code into separate class

Mike Orr
created an issue

{{{paginage.Page.pager()}}} has a lot of complexity and pass-through args from the {{{Page}}} constructor. Refactor the basic parts of Page (i.e., everything else) into a {{{BasicPage}}} class, for apps that don't use the navigator (e.g., apps that use a Mako template function to generate a navigator based on {{{page}}} attributes).

This preserves backward compatibility by keeping the {{{Page}}} name for the traditional functionality.

Comments (0)

  1. Log in to comment