// get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); appBeanName = "ptCalendar"; // 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"); // 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");