Reaction::UI::Widget::Field - A simple labelled text field
This widget renders a simple labelled text field.
Sets the field_value argument either to the result of the value_string method on the viewport, or to an empty string if the viewport does not support the method.
field_value
value_string
Will set the label argument to the localised value of the viewport's label method and render the label fragment if the viewport's label value is true.
label
share/skin/base/layout/field.tt
The following layouts are provided:
Renders the label_fragment and value_layout fragments.
label_fragment
value_layout
Renders a span element with a field_label class attribute containing the label argument and a double colon.
span
field_label
Renders a span element with a field_value class attribute containing the field_value argument.
share/skin/default/layout/field.tt
This layout set inherits from the NEXT one in the skin inheritance.
NEXT
The same as in the base skin except that the label argument is surrounded by a strong element.
base
strong
For mutable fields see Reaction::UI::Widget::Field::Mutable.
A simple text subclass of Reaction::UI::Field.
A simple string subclass of Reaction::UI::Field.
A simple subclass of Reaction::UI::Field.
A simple number subclass of Reaction::UI::Field.
A simple integer subclass of Reaction::UI::Field.
A field representing an optional image.
A simple DateTime subclass of Reaction::UI::Field.
A container field for multiple values.
A field containing a collection of localised values.
A simple boolean subclass of Reaction::UI::Field.
A field representing an array of values, like Reaction::UI::Field::Collection.
See Reaction::Class for authors.
See Reaction::Class for the license.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.