JQuery Calendar

  • Tags : day, week, month
  • Latest : 0.2.3
  • Last Updated: 25 November 2009
  • Grails version : 1.1 > *
  • Authors : Cazacu Mihai
4 votes
Dependency :
compile ":jquery-calendar:0.2.3"

Documentation

Summary

Installation

grails install-plugin jquery-calendar

Description

JQuery-Calendar Plugin

This plugin provides a full-sized, drag & drop calendar. It is based on jquery-week-calendar and fullcalendar JQuery plugins.

Requirements

  • Grails Version: 1.0 and above
  • JDK: 1.5 and above

Installation

grails install-plugin jquery-calendar

Components

CalendarDayView

This component displays domain objects on a calendar day view.

To use the CalendarDayView component include the following markup in your GSP.

<jqueryCalendar:dayResources />
...

<jqueryCalendar:day date="${date}" readonly="${readOnly}" allowCalEventOverlap="${true}" timeslotsPerHour="${4}" startHour="${8}" endHour="${18}" limitDisplay="${true}" height="${600}"/>

CalendarWeekView

This component displays domain objects on a calendar week view.

To use the CalendarWeekView component include the following markup in your GSP.

<jqueryCalendar:weekResources />
...

<jqueryCalendar:week date="${date}" readonly="${readOnly}" allowCalEventOverlap="${true}" timeslotsPerHour="${4}" firstDayOfWeek="${1}" startHour="${8}" endHour="${18}" limitDisplay="${true}" height="${600}"/>

CalendarMonthView

This component displays domain objects on a calendar month view.

To use the CalendarMonthView component include the following markup in your GSP.

<jqueryCalendar:monthResources />
...

<jqueryCalendar:month year="${year}" month="${month}" weekStart="${1}" draggable="${true}" readonly="${readOnly}" fixedWeeks="${true}" abbrevDayHeadings="${false}" title="${true}" showTime="guess" />

Resource Tag Extra Attributes

  • skinDir - allow to specify the skin directory for a personal skin (default: 'day', 'week' or 'month')
  • skin - allow to specify a custom skin (default: 'default')

Day/Week/Month Tag Extra Attributes

  • controller - the 'controller' to use to retrieve events and make the CRUD operations (default: 'calendar')
  • includeScripts - include JS scripts (default: 'true')
  • includeEventDialog - include event dialog (default: 'true')

Internationalization

  • check the "message.properties" file from the plugin directory.

Version History

  • 0.2.3 - Fixed installation step.
  • 0.2.2 - Added support to specify if an event can be dragged or not.
  • 0.2.1 - Added support to specify what controller to use for tags(via "controller" attribute). Added a configuration file that specify the JSON date converter.
  • 0.2.0 - Added support for reminders.
  • 0.1 - First official release.

Suggestions, comments or bugs

Feel free to submit questions or comments to the Grails users mailing list. Alternatively you can contact me directly - cazacugmihai at gmail dot com

Please report any issues to the Grails users mailing list and/or write up an issue in JIRA at http://jira.codehaus.org/browse/GRAILSPLUGINS under the Grails-JQueryCalendar component.