GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Reaction::UI::Widget::Collection::Grid(3) User Contributed Perl Documentation Reaction::UI::Widget::Collection::Grid(3)

Reaction::UI::Widget::Collection::Grid - A collection with header and footer

This widget is a subclass of Reaction::UI::Widget::Collection. Additionally to its superclass, it provides abstract means of a header and a footer.

Will set the "labels" argument to the viewport's "field_labels" attribute value.

Afterwards, the "header_cell" fragment will be rendered once for every entry in the viewport's "computed_field_order".

Additionally, the "header_action_cell" will be rendered when the current viewport's "member_action_count" is larger than 0.

Populates the "label" argument with a localised value of the "labels" hash reference argument. The used key is extracted from the "_" topic argument.

Populates the "col_count" argument with the viewports "member_action_count" attribute value.

  share/skin/base/layout/collection/grid.tt

The base grid layout set does not provide an markup, just abstract layouting.

The following layouts are provided:

Renders, in sequence, the "header", "body" and "footer" fragments.
Renders the "header_row" fragment.
Renders the "header_cells" fragment.
Renders the "header_cell_contents" fragment.
Renders the value of the "label" argument.
Renders the string "Actions".
Renders the "members" fragment implemented in Reaction::UI::Widget::Collection.

  share/skin/default/layout/collection/grid.tt

This layout set extends the "NEXT" in the skin inheritance hierarchy.

It is meant to extend upon the layout set with the same name in the "base" skin and provides the same abstract structure but with a table based markup.

The following layouts are provided:

Renders the next skin's "widget" fragment surrounded by a "table" element with the class attribute "grid".
Renders the next skin's "header" fragment surrounded by a "thead" element.
Wrap's the next skin's "header_row" fragment in a "tr" element.
Wrap's the next skin's "header_cell" fragment in a "th" element.
Wrap's the next skin's "header_action_cell" fragment in a "th" element with a "colspan" attribute set to the number of actions found in the "col_count" attribute
Wrap's the next skin's "body" fragment in a "tbody" element.

  • Reaction::UI::Widget::Collection
  • Reaction::UI::Widget::Collection::Grid::Member

See Reaction::Class for authors.

See Reaction::Class for the license.

2010-10-29 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.