| HTML::GUI::input - Create and control a input input for webapp |
HTML::GUI::input - Create and control a input input for webapp
Version 0.01
The input widget is the specialisation of the widget class for all user inputs (text, checkbox, combo ...).
It enforces all the specific functions of the use input (for example : implement the validate() function to check id the submitted value is OK).
Parameters :
params : widget definition
Parameters :
The new value of the widget value
Return :
nothing
Description :
set the value of the widget with $newvalue.
Parameters :
Return :
Description :
return the current value of the widget.
Description :
return a hash containing the input id and value
Return :
a ref to a hash containing ( widgetId => widgetValue)
Parameters :
-params : a hash ref
Description : look for a value coresponding to the widget in $params hash; if it is the case,set the objet value with this one For more elaborate objects, the functions is specialised.
Return : 1 if all constraints are OK; 0 if one or more constraint are broken
Parameters :
type : string : Visibility of the error (pub/priv)
params : hashref : params of the error
Description :
record one error in the current objet
Description :
Return the html of the widget. It can be directly inserted into a screen
Jean-Christian Hassler, <jhassler at free.fr>
Please report any bugs or feature requests to
bug-gui-libhtml-input at rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc HTML::GUI::widget
You can also look for information at:
Copyright 2007 Jean-Christian Hassler, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| HTML::GUI::input - Create and control a input input for webapp |