session.setAttribute("delegatorName", String.valueOf(userID));
calendardyna.set("delegatorName", session.getAttribute("delegatorName"));
Vector userColl = Delegator.getCalendarDelegatorIds(individualID, com.centraview.common.Constants.ACTIVITYMODULE,
com.centraview.common.Constants.VIEW, dataSource);
DDNameValue mydd = new DDNameValue(String.valueOf(individualID), (userobject.getfirstName() + ' ' + userobject.getlastName()));
userColl.add(mydd);
request.setAttribute("delegatorNameVec", userColl);
// Selected Acitivity Type
String activityType = request.getParameter("activityType");
if (session.getAttribute("activityType") == null) {
session.setAttribute("activityType", "All");
}
if (activityType != null) {
session.setAttribute("activityType", activityType);
}
activityType = (String) session.getAttribute("activityType");
calendardyna.set("activityType", activityType);
Vector activityTypeVec = new Vector();
activityTypeVec.add(new DDNameValue("All", "All Activities"));
activityTypeVec.add(new DDNameValue("Appointment", "Appointment"));
activityTypeVec.add(new DDNameValue("Meeting", "Meeting"));
activityTypeVec.add(new DDNameValue("Call", "Call"));
activityTypeVec.add(new DDNameValue("NextAction", "NextAction"));
activityTypeVec.add(new DDNameValue("OpportunityInfo", "OpportunityInfo"));
activityTypeVec.add(new DDNameValue("ProjectInfo", "ProjectInfo"));
activityTypeVec.add(new DDNameValue("Event", "Event"));
activityTypeVec.add(new DDNameValue("Task", "Task"));
request.setAttribute("activityTypeVec", activityTypeVec);
// What the hell??? what is the purpose of the default values here?
int timespan = 30;
TimeZone tz = null;