// 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"); // Dependencies from ADF Lib addConstructorDependency(appBeanName, "ceData_3_0", "ceData"); addConstructorDependency(appBeanName, "csData_2_0", "csData"); addConstructorDependency(appBeanName, "csSubsite_1_0", "csSubsite"); addConstructorDependency(appBeanName, "apiPage_1_1", "apiPage"); addConstructorDependency(appBeanName, "csContent_2_0", "csContent"); addConstructorDependency(appBeanName, "data_2_0", "data"); addConstructorDependency(appBeanName, "date_2_0", "date"); addConstructorDependency(appBeanName, "utils_2_0", "utils"); addConstructorDependency(appBeanName, "forms_2_0", "forms"); addConstructorDependency(appBeanName, "scripts_2_0", "scripts"); addConstructorDependency(appBeanName, "apiKeywords_1_1", "apiKeywords"); addConstructorDependency(appBeanName, "ui_2_0", "ui"); addConstructorDependency(appBeanName, "csSecurity_2_0", "csSecurity"); addConstructorDependency(appBeanName, "gceRecord_1_0", "gceRecord");