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
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
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 "
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
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
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
6 matches
Mail list logo