mendix/Calendar-Widget — pull request #4 by shott (2014-12-03 20:54:34+00:00)
Title: Support for titleAttr as an optional reference

I have added support for making a tittleAttr an optional reference or a
simple attribute. This is primarily done by adding a prepareEvents
method "in front of" the createEvents method that does a
mx.processor.get() to pull in any referred attributes. All of these changes are in the file calendar.js.

Note: I have also added two minor features that are supported by the
underlying fullcalendar.js, but not currently supported in the Mendix
Calendar widget.

The first is to support the axisFormat property that controls the time
labels along the left side of day and agenda views. In particular, this
needs to be adjusted to HH:mm if one prefers to use a 24-hour clock
instead of the default hh(:mm)tt format string.

Second, I have exposed the slotMinutes property that allows the time
increment of day and agenda calenders to be altered from the default of
30 minutes. For example, in a law office, one might want to support
time increments of either 10 or 15 minutes for billing purposes.
Reserving tennis courts using the Calendar widget might wish to have a
minimum calendar increment of 60 minutes.

These last two enhancements required minor changes to both calendar.xml and to calendar.js.
Note: in this version, I have added the axisFormat and slotMinutes as settable properties on the "Extra" tab of the properties file.

These changes were added to the most recent tagged version (2.3.1, I believe) of the repository.

As this is my first significant attempt to contribute to a GitHub widget, I apologize if I have misunderstood the ground rules of how I should try to contribute. I can be reached directly at shott@stanford.edu if I have not done this properly.

Thank you,

John