// App specific variables appBeanName = "ptDateTime"; // Get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the Controller component addSingleton("#appComPath#controller", "#appBeanName#_controller"); addConstructorDependency(appBeanName, "#appBeanName#_controller", "controller"); // Load the Service component addSingleton("#appComPath#service", "#appBeanName#_service"); addConstructorDependency(appBeanName, "#appBeanName#_service", "service"); // Load the DAO component addSingleton("#appComPath#DAO", "#appBeanName#_DAO"); addConstructorDependency(appBeanName, "#appBeanName#_DAO", "DAO"); // Inject Dependecies for the Service and DAO into the Controller addConstructorDependency("#appBeanName#_controller", "#appBeanName#_service", "service"); addConstructorDependency("#appBeanName#_controller", "#appBeanName#_DAO", "DAO"); // Dependecies from ADF Lib addConstructorDependency(appBeanName, "scripts_1_1", "scripts"); addConstructorDependency(appBeanName, "cedata_1_1", "cedata"); addConstructorDependency(appBeanName, "data_1_1", "data"); addConstructorDependency(appBeanName, "forms_1_1", "forms"); addConstructorDependency(appBeanName, "ui_1_0", "ui");