*/
public void updateScopeCascadingType(short type) throws SecurityException {
checkWriteAccess();
boolean hasAccess=ConfigWebUtil.hasAccess(config,SecurityManager.TYPE_SETTING);
if(!hasAccess)
throw new SecurityException("no access to update scope setting");
//railo.print.ln("********........type:"+type);
Element scope=_getRootElement("scope");
if(type==ConfigWeb.SCOPE_STRICT) scope.setAttribute("cascading","strict");
else if(type==ConfigWeb.SCOPE_SMALL) scope.setAttribute("cascading","small");