appBeanName = "ptCalendar2"; // get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); // Load the Profile Base addSingleton("#appComPath#App", appBeanName); // load the Blog Base Application CFC //addTransient("#appComPath#.App", appBeanName); // load general controller addSingleton("#appComPath#calendarDAO", "calendarDAO"); addConstructorDependency(appBeanName, "calendarDAO"); addSingleton("#appComPath#calendarService", "calendarService"); addConstructorDependency(appBeanName, "calendarService"); addSingleton("#appComPath#calendarController", "calendarController"); addConstructorDependency(appBeanName, "calendarController"); addSingleton("#appComPath#eventService", "eventService"); addConstructorDependency(appBeanName, "eventService"); addSingleton("#appComPath#eventCategoryDAO", "eventCategoryDAO"); addConstructorDependency(appBeanName, "eventCategoryDAO"); addSingleton("#appComPath#eventNotificationService", "eventNotificationService"); addConstructorDependency(appBeanName, "eventNotificationService"); addSingleton("#appComPath#calendarCSUsersGC", "calendarCSUsersGC"); addConstructorDependency(appBeanName, "calendarCSUsersGC"); addSingleton("#appComPath#csUsersDAO", "csUsersDAO"); addConstructorDependency(appBeanName, "csUsersDAO"); // Load the Forms componets as Transients addTransient("#appComPath#eventForms", "eventForms"); addConstructorDependency(appBeanName, "eventForms"); // Dependecies from ADF Lib addConstructorDependency(appBeanName, "ceData_1_1", "ceData"); addConstructorDependency(appBeanName, "csData_1_1", "csData"); addConstructorDependency(appBeanName, "csSubsite_1_0", "csSubsite"); addConstructorDependency(appBeanName, "csPage_1_0", "csPage"); addConstructorDependency(appBeanName, "csContent_1_0", "csContent"); addConstructorDependency(appBeanName, "data_1_1", "data"); addConstructorDependency(appBeanName, "date_1_0", "date"); addConstructorDependency(appBeanName, "scripts_1_1", "scripts"); addConstructorDependency(appBeanName, "utils_1_1", "utils"); addConstructorDependency(appBeanName, "forms_1_1", "forms");