[ 
http://jira.codehaus.org/browse/DISPL-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabrizio giustina resolved DISPL-562.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

fixed in 1.2, thanks

> 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
>             Fix For: 1.2
>
>   Original Estimate: 1 minute
>  Remaining Estimate: 1 minute
>
> 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

        

------------------------------------------------------------------------------
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to