request.params.configStruct = application.ptCalendar2.getAppConfig();
//Application.ADF.utils.dodump(request.params.configStruct,"request.params.configStruct",0);
// Set the UI theme from the Configuration Element
if ( structKeyExists(request.params.configStruct,"calendar_app_ui_theme") AND LEN(TRIM(request.params.configStruct['calendar_app_ui_theme'])) )
UItheme = request.params.configStruct['calendar_app_ui_theme'];
else
UItheme = 'redmond';
// Set the ADD_URL from the Configuration Element
if ( structKeyExists(request.params.configStruct,"manage_event_new_url") AND LEN(TRIM(request.params.configStruct['manage_event_new_url'])) )
add_url = request.params.configStruct['manage_event_new_url'];
else
add_url = '';
// Set the COPY_URL from the Configuration Element
if ( structKeyExists(request.params.configStruct,"manage_event_copy_url") AND LEN(TRIM(request.params.configStruct['manage_event_copy_url'])) )
copy_url = request.params.configStruct['manage_event_copy_url'];
else
copy_url = '';
// load jQuery headers
application.ptCalendar2.scripts.loadJQuery();
// load headers for ADF light box
application.ptCalendar2.scripts.loadADFLightbox();
// load header for jQuery UI
application.ptCalendar2.scripts.loadJQueryUI(themeName=UItheme);
request.params.formid = application.ptCalendar2.getCalendarFormID();
request.params.elementName = "Calendar2";
request.params.addButtonTitle = "Add New Event";
request.params.editButtonTitle = "Edit Event";
request.params.deleteButtonTitle = "Delete Event";
request.params.copyButtonTitle = "Copy Event";
request.params.editLBWidth = 750;
request.params.editLBHeight = 500;
request.params.deleteLBWidth = 350;
request.params.deleteLBHeight = 150;
AjaxPath = application.ADF.ajaxProxy;
AjaxBean = "forms_1_1";
AjaxMethod = "renderAddEditForm";
ManagePageTitleText = "Manage Events";
dpid = 0;
formResultHTML = "";
//variables.ManageElementName = "Calendar2";
//variables.formID = application.ptCalendar2.cedata.getFormIDByCEName(variables.ManageElementName);
#ManagePageTitleText#
--->
--->