Hi list,<br><br>I have a module whose action class initializes in a static block a static variable that depends on another module's parameter. I have hints that point to the theory that this is not working properly, I am quite sure it is because that other module's parameters are not available at the time this module initializes. Is that possible?<br>
<br>My code looks like:<br><br>static {<br>....<br> var = OpenCms.getModuleManager().getModule( "other.module" ).getParameter( "other_var", "default_var" );<br>....<br>}<br><br>Is this code bound to fail always, or there is some approach that can guarantee the "other.module" is loaded and their parameters available by the time the static block of this action class is called? Thank you in advance for any hints/thoughts. Greetings,<br>
<br>Nacho Fernandez.<br>