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


Manual Reference Pages  -  REACTION::UI::WIDGET::DATA (3)

.ds Aq ’

NAME

Reaction::UI::Widget::Data - Abstract class to render a data hash reference

CONTENTS

DESCRIPTION

This takes the args method return value of the viewport and populates the arguments with names and values from that value.

FRAGMENTS

    widget

Sets an argument for every key and value in the viewport’s args method return value (which is expected to be a hash reference).

EXAMPLE LAYOUT

Assuming this hash reference:



  { first_name => "Foo", last_name => "Bar" }



we can access it in a layout set like this:



  =widget Data
 
  =for layout widget
 
  Hello [% last_name | html %], [% first_name | html %]!
 
  =cut



AUTHORS

See Reaction::Class for authors.

LICENSE

See Reaction::Class for the license.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 REACTION::UI::WIDGET::DATA (3) 2010-10-29

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