// get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); appBeanName = "ptCalendar2"; // 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_0", "CEdata"); addConstructorDependency(appBeanName, "CSdata_1_0", "CSdata"); addConstructorDependency(appBeanName, "CSSubsite_1_0", "CSSubsite"); addConstructorDependency(appBeanName, "CSPage_1_0", "CSPage"); addConstructorDependency(appBeanName, "CSContent_1_0", "CSContent"); addConstructorDependency(appBeanName, "Data_1_0", "Data"); addConstructorDependency(appBeanName, "Date_1_0", "Date"); addConstructorDependency(appBeanName, "Scripts_1_0", "Scripts"); addConstructorDependency(appBeanName, "Utils_1_0", "Utils"); addConstructorDependency(appBeanName, "Forms_1_0", "Forms");