// This script MUST remain dynamic since this data and the included data is modified with a URL parameters
request.element.isStatic = 0;
request.element.hasData = 1;
// Get the calendar view query parameter name from the config
viewParamName = application.ptCalendar.viewParamName;
request.ptCalendar.view = application.ptCalendar.defaultView;
if ( StructKeyExists(request.params,viewParamName) )
request.ptCalendar.view = TRIM(request.params[viewParamName]);
// Get the Display view Render Handler Path Structure
rhFilePathData = application.ptCalendar.viewRHfilePaths;
// Get the Display View Render Handler Path from the selected view (use the default if none has been selected);
rhCalendarViewFilePath = "";
if ( StructKeyExists(rhFilePathData,request.ptCalendar.view) )
rhCalendarViewFilePath = rhFilePathData[request.ptCalendar.view];
The selected calendar display view could not be found!