12.07.2015 Views

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Schedule CalendarAttributeendTimefirstDayOfWeekheaderHeightintervalmonthListOnGetScheduleInfoDescriptionEnding time for the daily time slots to be displayed on the schedule calendar. This isan integer expressing the number of minutes since midnight. The default endTime is1080, which means 6 p.m. The range for endTime is 0 through 1440, which coversall 24 hours in the day.If the end user schedules an appointment that falls outside the startTime and endTime,the calendar expands to display that time slot.The endTime value can be a literal string, or it can contain a <strong>Zen</strong> #()# runtimeexpression.Integer that specifies which day of the week is displayed as the starting day of theweek in the schedule calendar. 0 means Sunday, 1 means Monday, and so on up to6, which means Saturday. The default firstDayOfWeek is 0.The purpose of the firstDayOfWeek attribute is to allow you to customize the schedulecalendar for different locales. Be sure to coordinate firstDayOfWeek changes withdayList and shortDayList.Integer giving the height of the header row at the top of the schedule calendar, inpixels. This header row is where <strong>Zen</strong> displays the names of days and their dates. Thedefault is 40, as shown in the illustration for dateFormat. Do not specify units withheaderHeight.Integer giving the number of minutes in each time slot on the calendar. The defaultinterval is 30; the minimum is 5. The interval value can be a literal string, or it cancontain a <strong>Zen</strong> #()# runtime expression.Comma-separated list of the full names of months of the year. The default monthListvalue uses the $$$Text macro with the English values January through December.You can use $$$Text with monthList because its ZENLOCALIZE datatype parameteris set to 1 (true). Any localized monthList string must remain a comma-separated listof twelve items when translated.Name of a server-side callback method in the <strong>Zen</strong> page class. This method gets theinformation needed to display the schedule. The following is a valid signature for thiscallback:ClassMethod GetScheduleInfo(ByRef pParms As %String,pStartDate As %Date,pEndDate As %Date,ByRef pInfo As %List) As %BooleanFor details, see the section “ OnGetScheduleInfo Callback Method.”<strong>Using</strong> <strong>Zen</strong> <strong>Components</strong> 255

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!