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::Data(3) User Contributed Perl Documentation Reaction::UI::Widget::Data(3)

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

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

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

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

See Reaction::Class for authors.

See Reaction::Class for the license.
2010-10-29 perl v5.32.1

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.