Reaction::UI::Widget::ListView(3)

NAME
Reaction::UI::Widget::ListView - Extends Grid to a full list interface

DESCRIPTION
This class is a subclass of Reaction::UI::ViewPort::Collection::Grid. It additionally provides means of paging and actions.

FRAGMENTS

  widget
Additional arguments available:

pager_obj - The "pager" object of the viewport

  actions
Render the "action" fragment for every action in the viewport.

  action
Renders the "action" viewport passed

  header_cells
Adds a modifier to render the actions column after the data columns

  header_cell
Modify the header_cell fragment to add support for ordering

Additional arguments available:

order_uri - A URI to the collection view which will order the members using this field. Will toggle ascending / descending order.

  header_action_cell
Additional arguments available:

col_count - Column width to span

  page_list
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"

Additional arguments available:

page_uri - The URI to the page
page_number - The number of the page

  first_page

  last_page

  next_page

  previous_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"

Additional arguments available:

page_uri - The URI to the page
page_number - The label of the page (First / Last / Next / Previous)

AUTHORS
See Reaction::Class for authors.

LICENSE
See Reaction::Class for the license.