Reaction::UI::Widget::ListView - Extends Grid to a full list interface
This class is a subclass of Reaction::UI::ViewPort::Collection::Grid. It additionally provides means of paging and actions.
Additional arguments available:
pager
Render the action fragment for every action in the viewport.
action
Renders the action viewport passed
Adds a modifier to render the actions column after the data columns
Modify the header_cell fragment to add support for ordering
Will sequentially render a numbered_page_fragment for every page available in the pager object
numbered_page_fragment
Renders a link pointing to the different pages in the pager object. If the current page number is equal to the page number for the page being rendered then the template block numbered_page_this_page is called instead of numbered_page
numbered_page_this_page
numbered_page
Render links to the first, last, next and previous pages, respectively. All four will render as the named_page template fragment, unless the current page is the last and/or first page, in which case the first and last fragments will render as named_page_no_page
named_page
named_page_no_page
See Reaction::Class for authors.
See Reaction::Class for the license.
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.