NAME

HTML::Tested::Value - Base class for most HTML::Tested widgets.

METHODS

$widget->name

Returns name of the widget.

$widget->get_value($caller, $id)

It is called from $widget->render to get the value to render.

$widget->seal_value($value)

It is called from $widget->render to seal the value before putting it to stash. See HTML::Tested::Seal for sealing functionality.

$widget->render($caller, $stash, $id)

Renders widget into $stash. For HTML::Tested::Value it essentially means assigning $stash->{ $widget->name } with $widget->get_value.

AUTHOR

Boris Sukholitko (boriss@gmail.com)

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

HTML::Tested