grouper-users - [grouper-users] Accented characters and ComboBox in New UI
Subject: Grouper Users - Open Discussion List
List archive
- From: Yoann Delattre <>
- To: "" <>
- Subject: [grouper-users] Accented characters and ComboBox in New UI
- Date: Wed, 20 Aug 2014 15:26:03 +0200
Hi everyone ! Actually, i'm working to get our grouper 2.2 ready for production (thanks again for your work on this version !). Don't know if it's usefull but i had a problem with ComboBox in New UI. When i was trying to search a group/folder who contain an accented character, i had no result... It was an encoding problem despiste the fact that UTF-8 is use everywhere... The problem was the getParameter method (use in DojoComboLogic.java) in GrouperRequestWrapper.java, especially those lines (408 - 415) : if (param != null && StringUtils.equals("GET", this.getMethod()) && GrouperUiConfig.retrieveConfig().propertyValueBoolean("convertInputToUtf8", true)) { try { byte[] bytes = param.getBytes("ISO-8859-1"); param = new String(bytes, "UTF-8"); } catch (Exception e) { throw new RuntimeException(e); } } So i change convertInputToUtf8 to false in grouper-ui.properties and everything works now ! :-) But if everything is in UTF-8, i don't know if this part of code is still useful ??? Maybe some people will have the same problem...That's why i share the solution :) I hope this will help. Yoann. --
|
- [grouper-users] Accented characters and ComboBox in New UI, Yoann Delattre, 08/20/2014
- RE: [grouper-users] Accented characters and ComboBox in New UI, Chris Hyzer, 08/20/2014
- Re: [grouper-users] Accented characters and ComboBox in New UI, Yoann Delattre, 08/20/2014
- RE: [grouper-users] Accented characters and ComboBox in New UI, Chris Hyzer, 08/20/2014
- Re: [grouper-users] Accented characters and ComboBox in New UI, Yoann Delattre, 08/21/2014
- RE: [grouper-users] Accented characters and ComboBox in New UI, Chris Hyzer, 08/21/2014
- Re: [grouper-users] Accented characters and ComboBox in New UI, Yoann Delattre, 08/21/2014
- RE: [grouper-users] Accented characters and ComboBox in New UI, Chris Hyzer, 08/20/2014
- Re: [grouper-users] Accented characters and ComboBox in New UI, Yoann Delattre, 08/20/2014
- RE: [grouper-users] Accented characters and ComboBox in New UI, Chris Hyzer, 08/20/2014
Archive powered by MHonArc 2.6.16.