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


Form-Factory documentation  | view source Contained in the Form-Factory distribution.

Index


NAME

Top

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

VERSION

Top

version 0.020

DESCRIPTION

Top

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

ATTRIBUTES

Top

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

Top

render

Renders the HTML required to use this method.

consume

Consumes the value from the request.

ROLE METHODS

Top

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

Top

Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Top


Form-Factory documentation  | view source Contained in the Form-Factory distribution.