/* * Load the Site Environment Configs/Elements and * Components ('/_cs_apps/components') into the site. * */ loadSite(); /* * Set the sites AjaxProxy URL * By default this file will be located in your sites /_cs_apps/ directory */ setAjaxProxyURL("#request.site.csAppsWebURL#ajaxProxy.cfm"); /* * Set the sites lightboxProxy URL * By default this file will be located in your sites /_cs_apps/ directory */ setLightboxProxyURL("#request.site.csAppsWebURL#lightboxProxy.cfm"); /* * Set the sites enableADFsiteDevMode() status * By default the ADF runs with development mode disabled (false) to enable set to (true) * (Note: if this line is commented, removed or if no value is passed development mode will disabled) * options: true or false */ enableADFsiteDevMode(false); /* * Set the sites enableADFcsrfSafeMode() status * By default the ADF runs with CSRF Safe mode disabled (false) to enable set to (true) * (Note: if this line is commented, removed or if no value is passed CSRF Safe mode will disabled) * options: true or false * * - IMPORTANT: This only enables/disables the ADF AjaxyProxy CSRF protection! CommonSpot 10.6.1+ will still do CSRF validation for form submits and loader.cfm requests */ enableADFcsrfSafeMode(false); /* * Set the sites enableProxyDebugLogging() status * By default the ADF runs with ProxyDebugLogging disabled (false) to enable set to (true) */ enableProxyDebugLogging(false); /* * Load the ADF Application into application space * * SAMPLE: * loadApp("CustomAppBeanName"); * */ //loadApp("ptProfile"); /* * Define the ADF Lib components to load into the sites application space. * Loading the most recent versions of the ADF Lib components * * Note: you can pass a previous ADF version number (e.g. 1.0) to this function to load that * versions ADF Library Components * * See /ADF/lib/version.xml to see which ADF Library Components are loaded for that ADF Version * */ loadLibrary();