Saturday, August 26, 2006

Grails: The DHTML JavaScript Date Picker

Grails Calendar (Date Picker) TagLib using ,The DHTML / JavaScript Calendar

  1. Download from
  2. Extract the archive into {your-grails-app}/web-app/js/
  3. rename directory name jscalendar-1.0 to calendar.
    Ex: {your-grails-app}/web-app/js/calendar/

  4. Create a new tag library class
    source here
    see Contributed a Tag page on Grails

  5. add Select in
    {your-grails-app}/grails-app/i18n/ for locale support
  6. usage : replace <g:datePicker .... to <g:jsdatePicker ..... in edit.gsp and create.gsp

Labels: ,


Post a Comment

<< Home