cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Reconfiguring components without restarting Cocoon?
Date Wed, 16 Jun 2004 18:13:21 GMT
Bart Molenkamp wrote:

> Hello,
> 
> Is it possible to reconfigure a single component without having to
> restart Cocoon (for development purposes only)?
Sure. Place your config in external file. Pass the filename in component 
configuration. Read and cache components config from file. Every time 
you invoke logic in your component make it check cached config validity. 
If invalid (file changed) - reread.
Maybe this is not OOTB but you can peek at some existing examples (like 
FormValidatorAction for example).

-- 
Leszek Gawron                                      lgawron@mobilebox.pl

Mime
View raw message