1 package Reaction::UI::Widget::DisplayField::List;
3 use Reaction::UI::WidgetClass;
6 widget renders [ qw/label list item/ => { viewport => func(self => 'viewport') } ];
7 label renders [ string { $_{viewport}->label } ];
8 list renders [ item over func('viewport', 'value_names') ];
9 item renders [ string { $_{_} } ];
18 Reaction::UI::Widget::DisplayField::List
26 renders C<label> and C<list> passing additional variable "viewport"
30 C<content> contains the viewport's label
34 renders fragment item over the viewport's C<value_names>
38 C<content> contains the value of the current item ($_ / $_{_})
42 See L<Reaction::Class> for authors.
46 See L<Reaction::Class> for the license.