// App specific variables appBeanName = "ptPageRating"; // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the ptPageRating Controller component addSingleton("#appComPath#DAO", "ptPageRatingDAO"); addConstructorDependency("ptPageRatingDAO", "ceData_2_0", "cedata"); addConstructorDependency("ptPageRatingDAO", "csContent_2_0", "csContent"); addConstructorDependency(appBeanName, "ptPageRatingDAO","DAO"); // Dependecies from ADF Lib if ( ListFirst(server.ADF.version,".") LT 2 ) { addConstructorDependency(appBeanName, "scripts_1_2", "scripts"); addConstructorDependency(appBeanName, "forms_1_1", "cedata"); } else { // ADF 2.0 lib component versions addConstructorDependency(appBeanName, "scripts_2_0", "scripts"); addConstructorDependency(appBeanName, "forms_2_0", "cedata"); }