HTML::Widget::Plugin::Calendar - simple construction of jscalendar inputs
version 0.022
$factory->calendar({ name => 'date_of_birth', format => '%Y-%m-%d', value => $user->date_of_birth, });
This module plugs in to HTML::Widget::Factory and provides a calendar widget using the excellent jscalendar.
provided_widgets
This plugin provides the following widgets: calendar, calendar_js
calendar_js
This method returns the JavaScript needed to use the calendar. It will only return the JavaScript the first time it's called.
Normally it's called when the calendar widget is used, but it may be called manually to force the JavaScript to be placed in your document at the location of your choosing.
calendar_baseurl
This method sets or returns the plugin's base URL for the jscalendar files. This must be set or calendar plugin creation will throw an exception.
Ricardo SIGNES
This software is copyright (c) 2005 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HTML::Widget::Plugin::Calendar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Widget::Plugin::Calendar
CPAN shell
perl -MCPAN -e shell install HTML::Widget::Plugin::Calendar
For more information on module installation, please visit the detailed CPAN module installation guide.