Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] internationalization liteUI

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] internationalization liteUI


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Wallaert-Taquet Brigitte <>
  • Cc: "" <>, "" <>, THIA Jean-Marie <>
  • Subject: RE: [grouper-users] internationalization liteUI
  • Date: Tue, 30 Aug 2011 14:30:06 +0000
  • Accept-language: en-US

Great!  I wonder why it works on the demo server.  In any case, I will try to put this in 2.0…

 

Thanks,

chris

 

From: Wallaert-Taquet Brigitte [mailto:]
Sent: Tuesday, August 30, 2011 4:40 AM
To: Chris Hyzer
Cc: ; ; THIA Jean-Marie
Subject: Re: [grouper-users] internationalization liteUI

 

EUREKA !!!!...

I found the problem : it concerns the HttpContentType.java
I add the charset in APPLICATION_JSON (and also for all...) and now, it's ok !!!!

/** application json content type */
  APPLICATION_JSON("application/json;charset=iso-8859-1"),

Thanks a lot for your help !
 
Brigitte


Le 30/08/2011 09:47, Wallaert-Taquet Brigitte a écrit :

Hello,

I obtain the good accents in my log too...

So, it seems that the problem comes from one element of : guiResponseJs.addAction(GuiScreenAction.newInnerHtmlFromJsp("..

Do you think too so ?

Thanks

Le 29/08/2011 19:40, Chris Hyzer a écrit :

You could try printing out the JSP contents…

 

      String jspContents = GrouperUiUtils.convertJspToString("/WEB-INF/grouperUi/templates/simpleMembershipUpdate/simpleMembershipMembershipList.jsp");

      System.out.println(jspContents);

Let me know what happens J

 

Thanks,

Chris

 

From: Wallaert-Taquet Brigitte []
Sent: Monday, August 29, 2011 12:10 PM
To: Chris Hyzer
Cc: ; ; THIA Jean-Marie
Subject: Re: [grouper-users] internationalization liteUI

 

Le 26/08/2011 05:28, Chris Hyzer a écrit :


Let me know if you make more progress or know of how I could help specifically :)
 
Thanks,
Chris

 

Hello !

Well, I progress slowly but surely...

Now, I obtain log on displayName.
In SimpleMembershipUpdate.java, I put this :
 System.out.println("bwseslogs2: " + guiMembers[i].getGuiSubject().getScreenLabel());
and I obtain good accent in my log. I would like to print to screen instead of logs to be sure it's ok at this time but i don't know how ?

After, there are theses lines :
simpleMembershipUpdateContainer.setGuiMembers(guiMembers);
GuiResponseJs guiResponseJs = GuiResponseJs.retrieveGuiResponseJs();
      guiResponseJs.addAction(GuiScreenAction.newInnerHtmlFromJsp("#simpleMembershipResultsList",
          "/WEB-INF/grouperUi/templates/simpleMembershipUpdate/simpleMembershipMembershipList.jsp"));


So, I think that the problem comes with the GuiResponseJs because the jsp display a bad accent.
I don't think that simpleMembershipUpdateContainer is concerned but i'm not sure.

Thanks for your advises.



-- 
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies




-- 
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies




-- 
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies



Archive powered by MHonArc 2.6.16.

Top of Page