I have ported the changes in XMLActionConfiguration that allows view mapping to be reloaded over to PropertiesConfiguration. It's a bit ugly but it works. The only trouble I had was that
1)views.properties handling needs to be seperate somehow from webwork.properties, I have hardcoded this in an ugly way. If anyone wants to clean this up and maybe create a common ReloadingConfiguration class to avoid the code duplication that'd be great.
2) I couldn't stop WW from caching the lookups, until I realized I had to set webwork.viewmapping=webwork.dispatcher.ConfigurationViewMapping in webwork.properties. This is not documented for reloading the XML configuration (http://www.opensymphony.com/webwork/cookbook/Reloading_xml_files.html). Did I miss something or is there some other thing that prevents WW from caching the XML action mapping?


I have created a JIRA issue and posted my diff there (http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-417)

Anders Hovmöller


------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to