Hi,

> function confHome(){

>   var log = Logger.getLogger( "Configurator.js" );

>   log.info( "Getting all modules from interface inner class" );
>   var modules = ( ( Collection )(
> Configuration.Conf.getModuleCollection() ) );
>   var defConf = new Form("forms/defConf.xml");
>   var bindingURI = cocoon.parameters["bindingURI"];
>     if (bindingURI != null) {

>         log.info( "bindingURI: "+ bindingURI );
>         defConf.createBinding(bindingURI);
>     }
>   for( var iteratore = ( ( Iterator )( modules.iterator() ) ); 
> iteratore.hasNext(); ){

>      defConf.load( ( ( ConfigVO )( iteratore.next() ) ) );
>   }
> }

maybe you should load the collection with defConf.load():
defConf.load(modules);

-- 
* best regards
* Jens Maukisch              


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to