[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-1228) On Window OS, Portlet 's non-English labels are not displayed properly in EDIT mode
Minh Hoang TO (JIRA)
jira-events at lists.jboss.org
Thu May 20 05:33:06 EDT 2010
[ https://jira.jboss.org/browse/GTNPORTAL-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12531621#action_12531621 ]
Minh Hoang TO commented on GTNPORTAL-1228:
------------------------------------------
The root cause was the lack of Charset while processing FragmentResponse in getEditModeContent method ( in UIPortletForm class)
String content;
if (portletResponse instanceof FragmentResponse)
{
FragmentResponse fragmentResponse = (FragmentResponse)portletResponse;
content = fragmentResponse.getContent();
}
A slight change was enough to fix the display error
String content;
if (portletResponse instanceof FragmentResponse)
{
FragmentResponse fragmentResponse = (FragmentResponse)portletResponse;
content = new String(fragmentResponse.getBytes(), Charset.forName("UTF-8"));
}
> On Window OS, Portlet 's non-English labels are not displayed properly in EDIT mode
> -----------------------------------------------------------------------------------
>
> Key: GTNPORTAL-1228
> URL: https://jira.jboss.org/browse/GTNPORTAL-1228
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.0.0-GA
> Environment: Windows OS
> Reporter: Minh Hoang TO
> Assignee: Minh Hoang TO
> Fix For: 3.1.0-CR01
>
>
> On Windows Platform, non-English labels rendered when Portlet is in EDIT mode are not displayed properly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list