// get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); appBeanName = "PTBlog2"; // load the Blog Base Application CFC addTransient("#appComPath#.App", appBeanName); // load general controller addSingleton("#appComPath#blogDAO", "blogDAO"); addConstructorDependency(appBeanName, "blogDAO"); addSingleton("#appComPath#postDAO", "postDAO"); addConstructorDependency(appBeanName, "postDAO"); addSingleton("#appComPath#commentsDAO", "commentsDAO"); addConstructorDependency(appBeanName, "commentsDAO"); addSingleton("#appComPath#commentsService", "commentsService"); addConstructorDependency(appBeanName, "commentsService"); addTransient("#appComPath#blogForms", "blogForms"); addConstructorDependency(appBeanName, "blogForms"); addSingleton("#appComPath#postService", "postService"); addConstructorDependency(appBeanName, "postService"); // 2011-10-26 - MFC - Added Blog Service component addSingleton("#appComPath#blogService", "blogService"); addConstructorDependency(appBeanName, "blogService"); // 2011-11-16 - MFC - Added Blog Service component addSingleton("#appComPath#blogsUserGroupsGC", "blogsUserGroupsGC"); addConstructorDependency(appBeanName, "blogsUserGroupsGC"); // 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_1", "CSPage"); addConstructorDependency(appBeanName, "CSContent_1_0", "CSContent"); addConstructorDependency(appBeanName, "Data_1_1", "Data"); addConstructorDependency(appBeanName, "Date_1_1", "Date"); addConstructorDependency(appBeanName, "Utils_1_1", "Utils"); addConstructorDependency(appBeanName, "forms_1_1", "forms"); addConstructorDependency(appBeanName, "scripts_1_1", "Scripts");