08-09-2007 03:19 PM
09-15-2007 11:57 AM
09-15-2007 12:35 PM
09-15-2007 01:02 PM
If you are interested I can post here some details..
09-15-2007 03:18 PM
10-18-2007 09:36 AM
10-18-2007 11:24 AM
Index: C:/Java/alfresco-svn/HEAD/root/projects/web-client/source/java/org/alfresco/web/app/servlet/AuthenticationHelper.java
===================================================================
— C:/Java/alfresco-svn/HEAD/root/projects/web-client/source/java/org/alfresco/web/app/servlet/AuthenticationHelper.java (revision 1178)
+++ C:/Java/alfresco-svn/HEAD/root/projects/web-client/source/java/org/alfresco/web/app/servlet/AuthenticationHelper.java (working copy)
@@ -244,23 +244,24 @@
I18NUtil.setLocale(Application.getLanguage(req.getSession()));
// setup faces context
- FacesHelper.getFacesContext(req, res, sc);
-
- if (loginBean != null && (loginBean.getUserPreferencesBean() != null))
- {
- String contentFilterLanguageStr = loginBean.getUserPreferencesBean().getContentFilterLanguage();
- if (contentFilterLanguageStr != null)
- {
- // Set the locale for the method interceptor for MLText properties
- I18NUtil.setContentLocale(I18NUtil.parseLocale(contentFilterLanguageStr));
- }
- else
- {
- // Nothing has been selected, so remove the content filter
- I18NUtil.setContentLocale(null);
- }
- }
-
+ //Commented out by Denis
+// FacesHelper.getFacesContext(req, res, sc);
+//
+// if (loginBean != null && (loginBean.getUserPreferencesBean() != null))
+// {
+// String contentFilterLanguageStr = loginBean.getUserPreferencesBean().getContentFilterLanguage();
+// if (contentFilterLanguageStr != null)
+// {
+// // Set the locale for the method interceptor for MLText properties
+// I18NUtil.setContentLocale(I18NUtil.parseLocale(contentFilterLanguageStr));
+// }
+// else
+// {
+// // Nothing has been selected, so remove the content filter
+// I18NUtil.setContentLocale(null);
+// }
+// }
+ I18NUtil.setContentLocale(null); //Added
return AuthenticationStatus.Success;
}
}
12-21-2007 05:52 AM
12-21-2007 07:51 AM
12-21-2007 08:47 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.