You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/11/16 09:19:57 UTC
[jira] Commented: (WW-1508) Tiles Plugin / Freemarker Tag Support
throws NullPointerException
[ http://issues.apache.org/struts/browse/WW-1508?page=comments#action_38717 ]
tm_jee commented on WW-1508:
----------------------------
Hi Dave,
just a thought, maybe we could try having
@Inject
public void setContainer(Container container) {
this.container = container;
}
in ObjectFactory and inject result object created like
public Result buildResult(.....) {
....
Result result = // result build
container.inject(result);
...
}
Just a guess, didn't actually tried it out.
> Tiles Plugin / Freemarker Tag Support throws NullPointerException
> -----------------------------------------------------------------
>
> Key: WW-1508
> URL: http://issues.apache.org/struts/browse/WW-1508
> Project: Struts 2
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 2.0.2
> Reporter: David H. DeWolf
> Assigned To: David H. DeWolf
>
> The FreemarkerResult now throws a NullPointerException when executed from the tiles plugin due to a missing FreemarkerManager. This appears to be a result of the Guice integration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira