HTML::ControlsFramework for complex controls/widgets in HTML | |
Download |
HTML::Controls Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Gianni Ceccarelli
- Publisher web site:
- http://search.cpan.org/~dakkar/
HTML::Controls Tags
HTML::Controls Description
Framework for complex controls/widgets in HTML HTML::Controls is a Perl framework for complex controls/widgets in HTML.SYNOPSIS use HTML::Controls; # in your request-handling sub my $w=HTML::Controls::Date('date_field'); if ($request->method eq 'POST') { # or something to that effect $w->setDataFromPost($request); if ($w->isDataValid()) { my $date=$w->getData(); # do what you need with the data } else { # data not complete or invalid: cope with it } } print some_html_up_to_head(); print $w->head(); print a_lot_of_html_closing_head_and_apening_a_form(); print $w->form(); print a_lot_of_html_closing_the_form();This module is the front-end to the HTML::Controls framework.The aim of this framework is to facilitate the development of modular controls to ease the handling of complex HTML forms. For example, the HTML::Controls::Date in the example could be rendered as a single input field, or three separate fields, or a pop-up calendar written in JavaScript, and you should have to change nothing in your code. Requirements: · Perl
HTML::Controls Related Software