// App specific variables appBeanName = "facebook"; // Get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the Application level components addSingleton("#appComPath#facebookService", "fbService"); addConstructorDependency(appBeanName, "fbService"); // Load the Application level components addSingleton("ADF.apps.facebook.lib.scripts_1_0", "fbScripts"); addConstructorDependency(appBeanName, "fbScripts", "scripts"); // Dependecies from ADF Lib addConstructorDependency("fbScripts", "scriptsService_1_0", "scriptsService"); addConstructorDependency(appBeanName, "json", "json");