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.

<strong>Zen</strong> ControlsAttributedayListDescriptionComma-separated list of day abbreviations to show at the top of the calendar. If you donot provide a dayList value, the default is:$$$Text("S,M,T,W,T,F,S")The dayList attribute has its ZENLOCALIZE datatype parameter set to 1 (true).This makesit easy to localize its text into other languages, and permits use of the $$$Text macroswhen you assign values to this property from client-side or server-side code.Any localized dayList string must remain a comma-separated list.endYearfirstDayOfWeekfixedMonthgapWidthmaxDateminDatemonthmonthListFour-digit end year number for the year selector in the calendar. If not defined, the defaultis the year portion of maxDate, if defined. Otherwise, the default endYear is 30 years fromnow.Number (Sunday=0, Saturday=6) that specifies which day of the week is displayed as thestarting day of the week. The default is 0 (Sunday).If true, this calendar displays a single month and provides no way for the user to changemonth and year. The default is false.This attribute has the underlying data type %ZEN.Datatype.boolean. It has the value "true"or "false" in XData Contents, 1 or 0 in server-side code, true or false in client-side code.HTML length value giving the size of the gap between the month and year indicators atthe top of the calendar. Setting this provides a way to adjust the width of the calendar.The above example uses the default of 40px.String in the format YYYY-MM-DD (datatype %Timestamp on the server). If specified, thisis the latest date that the will accept as its value. The maxDate value doesnot affect which years are displayed by the calendar unless endYear is omitted.The value supplied for maxDate can be a literal string, or it can contain a <strong>Zen</strong> #()# runtimeexpression.String in the format YYYY-MM-DD (datatype %Timestamp on the server). If specified, thisis the earliest date that the will accept as its value. The minDate value doesnot affect which years are displayed by the calendar unless startYear is omitted.The value supplied for minDate can be a literal string, or it can contain a <strong>Zen</strong> #()# runtimeexpression.Number (January=1, December=12) that specifies which month of the year is currentlydisplayed by the calendar. This is not the same as the current value, whichincludes a day and year, which can include time, and whose month may be different.Comma-separated list of month names to display in the list of months that the user canchoose from the calendar. If you do not provide a monthList value, the default is:$$$Text("January,February,March,April,May,June,July,August,September,October,November,December")monthList has its ZENLOCALIZE datatype parameter set to 1 (true). This makes it easyto localize its text into other languages, and permits use of the $$$Text macros when youassign values to this property from client-side or server-side code.Any localized monthList string must remain a comma-separated list.134 <strong>Using</strong> <strong>Zen</strong> <strong>Components</strong>

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

Saved successfully!

Ooh no, something went wrong!