Re: MessageResourcesFactory and servletContext

2005-01-04 Thread Nicolas De Loof
Using a Struts plugin to store a custom MessageResourcesFactory into context sounds good to me. It may get Jstl LocalizationContext from servletContext and use it to build MessageResources. Thanks for this idea. Nico. Joe Germuska a écrit : I'm suspicious of this, as in most cases we are trying

Re: MessageResourcesFactory and servletContext

2005-01-04 Thread Joe Germuska
I'm suspicious of this, as in most cases we are trying to control and reduce our direct dependencies on the Servlet API. Also, there has been a lot of talk about moving Struts to use commons-resources in a Struts 1.3 timeframe, which might suggest that looking at how to achieve this through th

MessageResourcesFactory and servletContext

2005-01-03 Thread Nicolas De Loof
Hi all, What do you think about this enhancement request : + add a servletcontext attribute (+get/set) to MessageResourcesFactory and set it from ActionServlet.initModuleMessageResources() This would allow some MessageResourceFactory implementation to get config or resources from servletcontext