Why not adopt me?
NAME
HTML::Widget::Plugin::Calendar - simple construction of jscalendar inputs
VERSION
version 0.022
SYNOPSIS
$factory->calendar({
name => 'date_of_birth',
format => '%Y-%m-%d',
value => $user->date_of_birth,
});
DESCRIPTION
This module plugs in to HTML::Widget::Factory and provides a calendar widget using the excellent jscalendar.
METHODS
provided_widgets
This plugin provides the following widgets: calendar, calendar_js
calendar
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.
AUTHOR
Ricardo SIGNES
COPYRIGHT AND LICENSE
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.