Author: sohil.shah(a)jboss.com
Date: 2007-07-31 10:07:17 -0400 (Tue, 31 Jul 2007)
New Revision: 7848
Modified:
branches/JBoss_Portal_2_4_1_SP1_CMSPatch/
branches/JBoss_Portal_2_4_1_SP1_CMSPatch/core/src/main/org/jboss/portal/core/portlet/cms/admin/CMSAdminPortlet.java
Log:
Patch to fix issue with accented characters in CMS Tool - JBPORTAL-1550
Property changes on: branches/JBoss_Portal_2_4_1_SP1_CMSPatch
___________________________________________________________________
Name: svn:ignore
- *.classpath
*.project
eclipseBin
thirdparty
+ *.classpath
*.project
eclipseBin
thirdparty
bin
Modified:
branches/JBoss_Portal_2_4_1_SP1_CMSPatch/core/src/main/org/jboss/portal/core/portlet/cms/admin/CMSAdminPortlet.java
===================================================================
---
branches/JBoss_Portal_2_4_1_SP1_CMSPatch/core/src/main/org/jboss/portal/core/portlet/cms/admin/CMSAdminPortlet.java 2007-07-31
13:22:43 UTC (rev 7847)
+++
branches/JBoss_Portal_2_4_1_SP1_CMSPatch/core/src/main/org/jboss/portal/core/portlet/cms/admin/CMSAdminPortlet.java 2007-07-31
14:07:17 UTC (rev 7848)
@@ -461,19 +461,19 @@
String fieldName = item.getFieldName();
if ("destination".equals(fieldName))
{
- sPath = item.getString();
+ sPath = item.getString(aReq.getCharacterEncoding());
}
else if ("description".equals(fieldName))
{
- sDescription = item.getString();
+ sDescription = item.getString(aReq.getCharacterEncoding());
}
else if ("title".equals(fieldName))
{
- sTitle = item.getString();
+ sTitle = item.getString(aReq.getCharacterEncoding());
}
else if ("language".equals(fieldName))
{
- sLanguage = item.getString();
+ sLanguage = item.getString(aReq.getCharacterEncoding());
}
}
}
@@ -515,11 +515,11 @@
String fieldName = item.getFieldName();
if ("destination".equals(fieldName))
{
- sPath = item.getString();
+ sPath = item.getString(aReq.getCharacterEncoding());
}
else if ("language".equals(fieldName))
{
- sLanguage = item.getString();
+ sLanguage = item.getString(aReq.getCharacterEncoding());
}
}
}
@@ -665,23 +665,23 @@
String fieldName = item.getFieldName();
if ("destination".equals(fieldName))
{
- sPath = item.getString();
+ sPath = item.getString(aReq.getCharacterEncoding());
}
else if ("description".equals(fieldName))
{
- sDescription = item.getString();
+ sDescription = item.getString(aReq.getCharacterEncoding());
}
else if ("makelive".equals(fieldName))
{
- sMakeLive = item.getString();
+ sMakeLive = item.getString(aReq.getCharacterEncoding());
}
else if ("title".equals(fieldName))
{
- sTitle = item.getString();
+ sTitle = item.getString(aReq.getCharacterEncoding());
}
else if ("language".equals(fieldName))
{
- sLanguage = item.getString();
+ sLanguage = item.getString(aReq.getCharacterEncoding());
}
}
}
Show replies by date