![]() |
![]()
| ![]() |
![]()
NAMEReaction::UI::Widget::Data - Abstract class to render a data hash reference DESCRIPTIONThis takes the "args" method return value of the viewport and populates the arguments with names and values from that value. FRAGMENTSwidgetSets an argument for every key and value in the viewport's "args" method return value (which is expected to be a hash reference). EXAMPLE LAYOUTAssuming 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 AUTHORSSee Reaction::Class for authors. LICENSESee Reaction::Class for the license.
|