I18nSpringAdapter fails in portlets
-----------------------------------
Key: DISPL-562
URL: http://jira.codehaus.org/browse/DISPL-562
Project: DisplayTag
Issue Type: Bug
Components: I18N
Affects Versions: 1.1.1
Reporter: Stephane Landelle
I18nSpringAdapter doesn't work with springmvc-portlets because the
WebApplicationContext is not an attribute of the ServletRequest.
Please replace line 59 :
MessageSource messageSource =
RequestContextUtils.getWebApplicationContext(pageContext.getRequest());
with :
MessageSource messageSource =
RequestContextUtils.getWebApplicationContext(pageContext.getRequest(),
pageContext.getServletContext());
so it's retrieved in the ServletContext.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel