[S1]: Resource configuration.

2009-03-23 Thread MassimoH
I'm maintaining a legacy Struts 1.1 application that defines multiple resource (.properties) files per key in struts-config.xml using a comma-delimited list like this: This has worked fine for years (all resource files get loaded), however after I've redone the build to use Maven/Jetty, this

Re: FreeMarker Question

2007-12-03 Thread MassimoH
Thanks for the replies, everyone, but I found a solution. If anyone else is facing the same issue and finds this thread, here is how I resolved: public class CustomFreemarkerManager extends FreemarkerManager { @Override protected ScopesHashModel buildScopesHashModel(ServletContext

FreeMarker Question

2007-11-28 Thread MassimoH
How do I do something like this: public class CustomFreemarkerManager extends FreemarkerManager { @Override protected BeansWrapper getObjectWrapper() { BeansWrapper beansWrapperInstance = super.getObjectWrapper(); // !!! This won't compile due to "

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-27 Thread MassimoH
My copy arrived in the mail over the weekend after having it on pre-order for months. So far, so good! Great job! Ian Roughley wrote: > > I'm pleased to announce the release of my newest book, "Practical Apache > Struts2 Web 2.0 project". And, no, I didn't pick the name :-) > -- View this

Re: Extending the FreemarkerManager

2007-11-05 Thread MassimoH
I'm doing this in struts.properties: struts.freemarker.manager.classname=org.me.MyFreemarkerManager And Struts 2.0.x is definitely using my custom class. Could you try configuring that in struts.properties file rather than in struts.xml? ARakesh wrote: > > I am extending the FreemarkerManager

Can't build XWork 2.0.4 with Maven 2.0.7?

2007-10-02 Thread MassimoH
While developing a Struts 2 app, I've encountered a bug within the framework. I've debugged this and I believe I've identified the exact cause of the issue. I'd like to try a fix and then submit it as a recommended patch. However, before I even try to add my code change, I am having trouble build