Ricardo SIGNES > HTML-Widget-Factory-0.082 > HTML::Widget::Plugin::Submit

Download:
HTML-Widget-Factory-0.082.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.082   Source  

NAME ^

HTML::Widget::Plugin::Submit - for submit type inputs

SYNOPSIS ^

  $widget_factory->submit({
    id    => 'button-id', # will be used as default control name, too
    value => 'button label',
  });

DESCRIPTION ^

This plugin provide a simple submit plugin, which returns an input element of type submit.

METHODS ^

provided_widgets

This plugin provides the following widgets: input

submit

This method returns a basic submit input.

In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:

value

This is the widget's initial value, which (for submit inputs) is generally used as the text for the label on its face.

AUTHOR ^

Ricardo SIGNES <rjbs @ cpan.org>

COPYRIGHT ^

Copyright (C) 2007, Ricardo SIGNES. This is free software, released under the same terms as perl itself.

syntax highlighting: