DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=13638>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=13638

add Config Factory





------- Additional Comments From [EMAIL PROTECTED]  2004-09-24 23:09 -------
Sorry, made a mess of that...

Seems to me like this is partially done already.

You can specify the class of the ModuleConfigFactory as an <init-param> in the 
web.xml.

<init-param>
   <param-name>configFactory</param-name>
   <param-value>mypackage.MyModuleConfigFactory</param-value>
<init-param>

All you would have to do is have your config factory implement the 
createModuleConfig
(prefix) method in the following way:

public ModuleConfig createModuleConfig(String prefix) {

   ModuleConfig config = new ModuleConfigImpl(prefix);
   config.setActionFormBeanClass(".....");
   config.setActionMappingClass(".....");
   config.setActionForwardClass(".....");
   return config;

}

As I said, its only partially what you're asking for (doesn't do 
FormPropertyConfig, ExceptionConfig, ControllerConfig or 
MessageResourcesConfig) but if you still require this it would make sense to 
add these elements in to the existing structure.

Niall

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

Reply via email to