// this will come through an AJAX call if( structKeyExists(url, "subsiteURL") ) loadSiteAppSpace(url.subsiteURL); else if( structKeyExists(form, "subsiteURL") ) loadSiteAppSpace(form.subsiteURL); // 2012-08-08 - MFC - Added structKeyExists check for "request.params". else if( structKeyExists(request, "params") AND structKeyExists(request.params, "subsiteURL") AND LEN(request.params.subsiteURL) ) // Check if subsiteURL is defined in request.params and has a value. loadSiteAppSpace(request.params.subsiteURL); // Verify the security for the logged in user if ( NOT server.ADF.objectFactory.getBean("csSecurity_1_2").isValidContributor() ) abort;