grouper-users - RE: [grouper-users] internationalization liteUI
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Wallaert-Taquet Brigitte <>
- Cc: "" <>, "" <>, THIA Jean-Marie <>
- Subject: RE: [grouper-users] internationalization liteUI
- Date: Sun, 4 Sep 2011 15:20:10 +0000
- Accept-language: en-US
Thanks for your help investigating these issues... it is hard work, but it will be useful to others. :)
As for the tooltip, it works for me... hmmm. See attached: ui-lite.invite-menu=Invite éxternal people ui-lite.invite-menuTooltip=Invite éxternal people who are not already registered to be a member of this group. Note: the systems that use this group must be ready to use external people. As for the searching for people, I needed to make some changes: 1. media.properties: ################################### ## Internationalization ################################### # this should be true unless troubleshooting... convertInputToUtf8 = true 2. GrouperRequestWrapper FROM: public String getParameter(String name) { if (!this.multipart) { return this.wrapped.getParameter(name); } Object objectSubmitted = this.parameterMap.get(name); TO: public String getParameter(String name) { if (!this.multipart) { String param = this.wrapped.getParameter(name); if (param != null && StringUtils.equals("GET", this.getMethod()) && TagUtils.mediaResourceBoolean("convertInputToUtf8", true)) { try { byte[] bytes = param.getBytes("ISO-8859-1"); param = new String(bytes, "UTF-8"); } catch (Exception e) { throw new RuntimeException(e); } } return param; } Object objectSubmitted = this.parameterMap.get(name); 3. (not sure if this makes a difference) GrouperUiFilter: FROM: public void doFilter(ServletRequest servletRequest, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { GrouperRequestWrapper httpServletRequest = null; try { httpServletRequest = new GrouperRequestWrapper((HttpServletRequest) servletRequest); TO: public void doFilter(ServletRequest servletRequest, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { GrouperRequestWrapper httpServletRequest = null; try { servletRequest.setCharacterEncoding("UTF-8"); httpServletRequest = new GrouperRequestWrapper((HttpServletRequest) servletRequest); Then it works, see other attachment. thanks, Chris From: Wallaert-Taquet Brigitte []
Sent: Thursday, September 01, 2011 11:21 AM To: Chris Hyzer Cc: ; ; THIA Jean-Marie Subject: Re: [grouper-users] internationalization liteUI Hello,
I found the problem (see my precedent message in lower part and the screen joined) but don't know enough how to solve it and I think you can help me. The problem comes from dhtmlxmenu.js at line 1646 : if (this.itemPull[id]["tip"].length > 0) { k.title = this.itemPull[id]["tip"]; } There isn't innerHTML with k.title. The text of menu is ok thanks to the line 1634 : k.innerHTML = j_icon + this.itemPull[id]["title"] + j_nodes; I try this : k.title.innerHTML = this.itemPull[id]["tip"] : bad, title no displayed k.title = this.itemPull[id]["tip"] : bad, title display "undefined" k.innerHTML = k (after line 1646) : each line menu = objectHTMLDivElement ... So, there is probably another solution, I look for it but if you can help me, i accept ! Thanks Brigitte Le 31/08/2011 10:40, Wallaert-Taquet Brigitte a écrit :
-- Brigitte Wallaert-Taquet Ingénieure d'études Chargée d'étude Espace collaboratif de Documents Université Lille1 Sciences et Technologies |
Attachment:
menuTooltip.jpg
Description: menuTooltip.jpg
Attachment:
searchInternational.jpg
Description: searchInternational.jpg
- Re: [grouper-users] internationalization liteUI, Wallaert-Taquet Brigitte, 09/01/2011
- RE: [grouper-users] internationalization liteUI, Chris Hyzer, 09/01/2011
- Re: [grouper-users] internationalization liteUI, Wallaert-Taquet Brigitte, 09/02/2011
- RE: [grouper-users] internationalization liteUI, Chris Hyzer, 09/04/2011
- Re: [grouper-users] internationalization liteUI, Wallaert-Taquet Brigitte, 09/05/2011
- RE: [grouper-users] internationalization liteUI, Chris Hyzer, 09/06/2011
- Re: [grouper-users] internationalization liteUI, Wallaert-Taquet Brigitte, 09/07/2011
- RE: [grouper-users] internationalization liteUI, Chris Hyzer, 09/08/2011
- Re: [grouper-users] internationalization liteUI, Wallaert-Taquet Brigitte, 09/08/2011
- RE: [grouper-users] internationalization liteUI, Chris Hyzer, 09/08/2011
- Re: [grouper-users] internationalization liteUI, Wallaert-Taquet Brigitte, 09/07/2011
- RE: [grouper-users] internationalization liteUI, Chris Hyzer, 09/06/2011
- Re: [grouper-users] internationalization liteUI, Wallaert-Taquet Brigitte, 09/05/2011
- RE: [grouper-users] internationalization liteUI, Chris Hyzer, 09/01/2011
Archive powered by MHonArc 2.6.16.