DatePickerExtension

Make your page require the date picker code

$xwiki.jsfx.use("js/scriptaculous/scriptaculous.js")
$xwiki.jsx.use("XWiki.DatePickerExtension")
$xwiki.ssx.use("XWiki.DatePickerExtension")

Use the date picker

<input type="text" name="mydate" id="mydate_id" />
<script type="text/javascript">
var dpicker = new DatePicker({
 relative : 'mydate_id',
 language: "$context.language"
});
</script>

Full documentation at http://prototype-datepicker-widget.googlecode.com/

Tags:
Created by Administrator on 2009/04/07 15:02
http://skins.ow2.org/skins/skinOW2/images/Featuredvideo.png
  • Colin Charles, MariaDB
http://skins.ow2.org/skins/skinOW2/images/watchallvideos.png

Powered by XWiki Hosted by Xsalto Free PageRank Checker Creative Commons 2.0 license Legal Notice