// Do Not Cache this RH
request.element.isStatic = 0;
showElementData = false;
showRSSdata = false;
outputiCAL = false;
if ( !showRSSdata AND !showElementData AND StructKeyExists(request.params,"ical") AND IsBoolean(request.params.ical) AND request.params.ical EQ 1 )
outputiCAL = true;
/******************************/
// DEV TEST EVENT DATA
testData = StructNew();
testData.organizerName="Services";
testData.organizerEmail="services@paperthin.com";
testData.eventDate="2011-09-07 00:00:00";
testData.startTime="1900-01-01 11:30:00";
testData.endTime="1900-01-01 13:30:00";
testData.Title="Lunch with Greg";
testData.location="LoneStar Steakhouse";
#application.ptCalendar.calEventsiCalService.renderiCalDownloadFile(
organizerName=testData.organizerName
,organizerEmail=testData.organizerEmail
,eventDate=testData.eventDate
,startTime=testData.startTime
,endTime=testData.endTime
,subject=testData.Title
,location=testData.location
)#
--->
Event Title: #testData.Title#
#application.ptCalendar.utils.doDump(testData,"testData",1)#