// Verify the security for the logged in user if ( NOT server.ADF.objectFactory.getBean("csSecurity").isValidContributor() ) server.ADF.objectFactory.getBean("utils").abort(); // this will come through an AJAX call if( structKeyExists(form, "subsiteURL") ) loadSiteAppSpace(form.subsiteURL); else if( structKeyExists(url, "subsiteURL") ) loadSiteAppSpace(url.subsiteURL);