public void updateBaseComponent ( String baseComponentCFML , String baseComponentLucee ) throws SecurityException { checkWriteAccess ( ) ; boolean hasAccess = ConfigWebUtil . hasAccess ( config , SecurityManager . TYPE_SETTING ) ; if ( ! hasAccess ) throw new SecurityException ( "no access to update component setting" ) ; // config.resetBaseComponentPage(); Element scope = _getRootElement ( "component" ) ; // if(baseComponent.trim().length()>0) scope . removeAttribute ( "base" ) ; scope . setAttribute ( "base-cfml" , baseComponentCFML ) ; scope . setAttribute ( "base-lucee" , baseComponentLucee ) ; }
update the baseComponent