1 package Reaction::UI::Widget::DisplayField::List;
3 use Reaction::UI::WidgetClass;
6 fragment widget [ qw/label list item/ ];
7 fragment label [ string { $_{viewport}->label } ];
8 fragment list [ item => over func('viewport', 'value_names') ];
9 fragment item [ 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.