The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Form::Factory::Interface::HTML::Widget - rendering/consuming HTML controls

VERSION

version 0.022

DESCRIPTION

Widget is the low-level API for rendering and processing HTML/HTTP form elements.

ATTRIBUTES

alternate_renderer

If the renderer needs to be customized, provide a custom renderer here. This is a code reference that is passed the control and options like the usual renderer method.

alternate_consumer

If the control needes to be consumed in a custom way, you can add that here. This is a code reference that is passed the control and options like the usual consumer method.

METHODS

render

Renders the HTML required to use this method.

consume

Consumes the value from the request.

ROLE METHODS

These methods must be implemented by role implementers.

render_control

Return HTML to render the control.

consume_control

Given consumer options, process the input.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Qubling Software LLC.

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