[Trinidad] Unsupported locale (Kazakh)

2012-04-27 Thread Anatoly Bludov
Hello, I have a problem with locale support in trinidad. I depelop application with Oracle ADF. It must support several languages and Kazach language too. But the inputDate elements isn't works properly, when I set value of faces locale to kk or kk_KZ. Popup window has open, but nothing

Re: [Trinidad] Unsupported locale (Kazakh)

2012-04-27 Thread Max Starets
: Hello, I have a problem with locale support in trinidad. I depelop application with Oracle ADF. It must support several languages and Kazach language too. But the inputDate elements isn't works properly, when I set value of faces locale to kk or kk_KZ. Popup window has open, but nothing

Any Arabic speakers who can comment on [Trinidad-1958] Client tr:numberConverter with type=currency incorrectly handles arabic locale for positive values

2010-11-09 Thread Yee-Wah Lee
Hi everyone, If you are familiar with Arabic, could you help confirm an issue raised in: https://issues.apache.org/jira/browse/TRINIDAD-1958 Specifically, is the following comment in the bug correct? That is, if I want to represent the value -9 in currency, this is correct: ar_SA: 9 ?? -

Re: Conversion error using inputDate with a non-US browser locale

2010-04-01 Thread Derry Cannon
, userData, disabled, readonly); encodeInputMonth(inputDate, writer, clientId, userData, currentLocale, disabled, readonly); encodeInputYear(inputDate, writer, clientId, userData, disabled, readonly); For that component that is fixed and the code does not check the locale

Conversion error using inputDate with a non-US browser locale

2010-03-31 Thread Derry Cannon
I'm having trouble using the Tomahawk inputDate for non-US locales. If in Firefox I set my general.useragent.locale to en-US, all is well. However, if I set my locale to en-GB, I get a conversion error from the inputDate. Stepping through the debugger, it appears that when my locale is en-GB

Re: Conversion error using inputDate with a non-US browser locale

2010-03-31 Thread Leonardo Uribe
locales. If in Firefox I set my general.useragent.locale to en-US, all is well. However, if I set my locale to en-GB, I get a conversion error from the inputDate. Stepping through the debugger, it appears that when my locale is en-GB and I submit a date of April 15, 2010, the value

Re: Conversion error using inputDate with a non-US browser locale

2010-03-31 Thread Derry Cannon
No, I've not tried the inputCalendar. In stepping through the debugger, I'm seeing places where facesContext.getViewRoot().getLocale() is returning the proper Locale, so I'm at a loss as to why the pattern is staying dd.MM. instead of MM.dd.. Derry On Wed, Mar 31, 2010 at 4:27 PM

Re: Conversion error using inputDate with a non-US browser locale

2010-03-31 Thread Leonardo Uribe
(inputDate, writer, clientId, userData, disabled, readonly); For that component that is fixed and the code does not check the locale before render them. regards, Leonardo Uribe 2010/3/31 Derry Cannon d3r...@gmail.com No, I've not tried the inputCalendar. In stepping through the debugger, I'm

Re: Conversion error using inputDate with a non-US browser locale

2010-03-31 Thread Now I find myself in question
() is returning the proper Locale, so I'm at a loss as to why the pattern is staying dd.MM. instead of MM.dd.. Derry On Wed, Mar 31, 2010 at 4:27 PM, Leonardo Uribe lu4...@gmail.com wrote: Hi Did you tried with the property popupDateFormat on t:inputCalendar? The default

Re: [Tobago] Locale changed when handling exceptions

2010-02-05 Thread Udo Schnurpfeil
Hi Alf, where do you call FacesContext.getCurrentInstance().getViewRoot().setLocale(selectedLocale)? Do you use the f:view locale= attribute? Refards, Udo Alf Felis schrieb: Hi all, my assumption was wrong that the session will be invalidated! But my problem still exist... the locale

Re: [Tobago] Locale changed when handling exceptions

2010-01-25 Thread Alf Felis
Hi all, my assumption was wrong that the session will be invalidated! But my problem still exist... the locale will be overwritten. Any ideas? Regards, Alf -Ursprüngliche Nachricht- Von: Alf Felis alf.fe...@gmx.de Gesendet: 20.01.10 15:27:27 An: MyFaces Discussion users

[Tobago] Locale changed when handling exceptions

2010-01-20 Thread Alf Felis
Hi all, I have a problem with the locale and the error handling. My application provides the possibility to choose the preferred language. I set the selected locale with the following code FacesContext.getCurrentInstance().getViewRoot().setLocale(selectedLocale); Everything works fine until

Re: [Tobago] Locale changed when handling exceptions

2010-01-20 Thread Alf Felis
Hi again :) I noticed, that apparently the whole session will be invalidated, because some other attributes will be lost, too. Is there any parameter or something else to disable this behaviour? Regards, Alf - original Nachricht Betreff: [Tobago] Locale changed when handling

Re: inputCalendar weeks days and locale settings

2009-03-12 Thread Anton Gavazuk
Hi Andreas, did you find an solution? Thanks, Anton 2008/12/4 Andreas Niemeyer andreas.nieme...@gutzmann.com Hi, I would like to see the displayed week days for german language. Is there any chance to change this, by setting a locale info or passing an array? I assume it should

inputCalendar weeks days and locale settings

2008-12-04 Thread Andreas Niemeyer
Hi, I would like to see the displayed week days for german language. Is there any chance to change this, by setting a locale info or passing an array? I assume it should be possible since the popupDateFormat and popupTodayString properties can be modified. Regards, Andreas

RE: PhaseListener: before or after which phase should I set the locale?

2008-07-10 Thread Guy Bashan
Hi, I used a while ago the same technique and it seems to be working fine. Try using: s:loadBundle. Guy. From: Julien Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 8:32 AM To: MyFaces Discussion Subject: PhaseListener: before or after which phase should I set the locale

Re: PhaseListener: before or after which phase should I set the locale?

2008-07-10 Thread Zigc Junk
Try restore view phase which is the first phase of the life cycle. regard Bill On Thu, Jul 10, 2008 at 12:31 AM, Julien Martin [EMAIL PROTECTED] wrote: Hello, I use restfaces an I have UrLs such as mydomain.com/fr/book/etc where /fr/ is the desired locale. I have tried retrieving the locale

Re: PhaseListener: before or after which phase should I set the locale?

2008-07-10 Thread Simon Lessard
, 2008 at 12:31 AM, Julien Martin [EMAIL PROTECTED] wrote: Hello, I use restfaces an I have UrLs such as mydomain.com/fr/book/etc where /fr/ is the desired locale. I have tried retrieving the locale string from the URL and setting the locale from a PhaseListener before the renderResponse

PhaseListener: before or after which phase should I set the locale?

2008-07-09 Thread Julien Martin
Hello, I use restfaces an I have UrLs such as mydomain.com/fr/book/etc where /fr/ is the desired locale. I have tried retrieving the locale string from the URL and setting the locale from a PhaseListener before the renderResponse phase but it does not work i.e. when I change the locale

MyFaces 1.2, f:view, locale management

2007-08-31 Thread Eric Lewandowski
Hi I want to change the locale for all my faces pages. so, I wrote a bean defined as languageManager. This bean store the locale selected by user and can get it. in my pages , I defined a tag f:view : f:view locale=#{languageManager.locale} ... When MyFaces evaluates the tag f:view, it calls

Re: MyFaces 1.2, f:view, locale management

2007-08-31 Thread Mike Kienenberger
Do you have a LanguageManager public Locale getLocale() method? You need to have a public String getLocale() method. http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFPage3.html On 8/31/07, Eric Lewandowski [EMAIL PROTECTED] wrote: Hi I want to change the locale for all my faces pages. so

Re: MyFaces 1.2, f:view, locale management

2007-08-31 Thread Eric Lewandowski
No, I have a public String getLocale() method and no public Locale getLocale() method. Mike Kienenberger wrote: Do you have a LanguageManager public Locale getLocale() method? You need to have a public String getLocale() method. http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFPage3

Re: MyFaces 1.2, f:view, locale management

2007-08-31 Thread Eric Lewandowski
OK. The problem seems to be in MyFaces 1.2 or Trinidad 1.2.1 I downgraded the version of third party uses to MyFaces 1.1.5 and Trinidad 1.0.2 and it works ! Eric Lewandowski wrote: Hi I want to change the locale for all my faces pages. so, I wrote a bean defined as languageManager

Re: MyFaces 1.2, f:view, locale management

2007-08-31 Thread Martin Marinschek
Lewandowski wrote: Hi I want to change the locale for all my faces pages. so, I wrote a bean defined as languageManager. This bean store the locale selected by user and can get it. in my pages , I defined a tag f:view : f:view locale=#{languageManager.locale} ... When MyFaces

Re: MyFaces 1.2, f:view, locale management

2007-08-31 Thread Eric Lewandowski
uses to MyFaces 1.1.5 and Trinidad 1.0.2 and it works ! Eric Lewandowski wrote: Hi I want to change the locale for all my faces pages. so, I wrote a bean defined as languageManager. This bean store the locale selected by user and can get it. in my pages , I defined a tag

[Trinidad] MenuModel locale

2007-08-18 Thread Luka Surija
Can someone explain me why MenuModel isn't working with locale as any other JSF component? code snippet from org.apache.myfaces.trinidadinternal.menu.MenuUtils: ... static void loadBundle(String resBundle, ThreadLocalString key) { FacesContext facesContext = FacesContext.getCurrentInstance

Re: [Trinidad] MenuModel locale

2007-08-18 Thread Adam Winer
That's extremely wrong. There shouldn't be any code looking at requestLocale. File an issue and I'll fix the code ASAP. -- Adam On 8/18/07, Luka Surija [EMAIL PROTECTED] wrote: Can someone explain me why MenuModel isn't working with locale as any other JSF component? code snippet from

t:schedule date header and locale

2007-05-14 Thread Joost Schouten
Hi, The t:schedule works great, except for the fact that the date in the header does not use the ViewRoot locale. It always seems to use a default en. In my test my entire page renders in Dutch except for the date which states: Monday 14 May, 2007. I've changed the dateformat

Re: t:schedule date header and locale

2007-05-14 Thread Cagatay Civici
locale. It always seems to use a default en. In my test my entire page renders in Dutch except for the date which states: Monday 14 May, 2007. I've changed the dateformat with the headerDateFormat attribute. Am I missing something or does the t:schedule not take the locale into account when

Re: t:schedule date header and locale

2007-05-14 Thread Cagatay Civici
Cagatay On 5/14/07, Ricardo Ramírez [EMAIL PROTECTED] wrote: On Mon, 2007-05-14 at 22:26 +1200, Joost Schouten wrote: Hi, The t:schedule works great, except for the fact that the date in the header does not use the ViewRoot locale. It always seems to use a default en. In my test my

RE: t:schedule date header and locale

2007-05-14 Thread Joost Schouten
Gotta love waking up to a fixed problem ;-) Thanks guys, Joost From: Cagatay Civici [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:39 AM To: MyFaces Discussion Subject: Re: t:schedule date header and locale Hi, It's fixed now, You can get

RE: Locale problem with MyFaces Portlet for Liferay

2006-08-24 Thread Strittmatter, Stephan
-Original Message- From: Behrang Saeedzadeh [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 1:29 AM To: MyFaces Discussion Subject: Re: Locale problem with MyFaces Portlet for Liferay Hi Stephan, I looked at the wiki entry and it was very clear and straightforward

Re: Locale problem with MyFaces Portlet for Liferay

2006-08-23 Thread Behrang Saeedzadeh
Hi Stephan, I looked at the wiki entry and it was very clear and straightforward but unfortunately I have not been able to solve the locale problem yet. When I don't add the portlet-ejb.jar to the WEB-INF/lib directory of my portlet .war file it throws a ClassNotFoundException. When I added

Locale problem with MyFaces Portlet for Liferay

2006-08-22 Thread Behrang Saeedzadeh
Hi guys, I have written a simple blank JSF portlet for Liferay. It supports 2 locales: en and de. But when I change the locale of the user, the portlet doesn't fetch the appropriate locale and instead only fetches the default locale. The whole portlet with its war file ready to be deployed can

Re: Locale problem with MyFaces Portlet for Liferay

2006-08-22 Thread Behrang Saeedzadeh
Oh I forgot to ask my question: does anybody know what's wrong with this portlet? Regards, Behi On 8/22/06, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Hi guys, I have written a simple blank JSF portlet for Liferay. It supports 2 locales: en and de. But when I change the locale of the user

RE: Locale problem with MyFaces Portlet for Liferay

2006-08-22 Thread Strittmatter, Stephan
Subject: Re: Locale problem with MyFaces Portlet for Liferay Oh I forgot to ask my question: does anybody know what's wrong with this portlet? Regards, Behi On 8/22/06, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Hi guys, I have written a simple blank JSF portlet for Liferay

Re: Locale problem with MyFaces Portlet for Liferay

2006-08-22 Thread Behrang Saeedzadeh
Hi Stephan, Thanks for the replay. Could you please provide me a little bit more information? Should I overload something in my Portlet class? I guess VIIBPortalUser is a custom class for your application, I don't know how can I workaround the locale problem within my application. I would

RE: Locale problem with MyFaces Portlet for Liferay

2006-08-22 Thread Strittmatter, Stephan
: Tuesday, August 22, 2006 8:35 PM To: MyFaces Discussion Subject: Re: Locale problem with MyFaces Portlet for Liferay Hi Stephan, Thanks for the replay. Could you please provide me a little bit more information? Should I overload something in my Portlet class? I guess VIIBPortalUser is a custom

Re: spontaneous locale change in view root

2006-07-30 Thread David Miller
Is that how it's supposed to work or something that's unavoidable? If it's supposed to work like that, how does one keep the chosen locale when redirecting? On 5/25/06, Martin Marinschek [EMAIL PROTECTED] wrote: Are you using redirect? On a redirect, the locale is lost...regards,MartinOn 5/26/06

Re: spontaneous locale change in view root

2006-07-30 Thread David Miller
the chosen locale when redirecting? On 5/25/06, Martin Marinschek [EMAIL PROTECTED] wrote: Are you using redirect? On a redirect, the locale is lost...regards,MartinOn 5/26/06, Jan Zach [EMAIL PROTECTED] wrote: Hi, I've a multilingual web site. When a session is being established I'm checking

RE: Locale

2006-06-08 Thread sjarlier
Hello! Please I need your help. I have troubles for simple operations with Map. I have a method taking as parameters a map: MapQName, Serializable props And in this method I am doing this: //I check if props is null and it is not and I print what there is in my props if(props==null)

Locale

2006-06-02 Thread sjarlier
= FacesContext.getCurrentInstance(); // set locale for JSF framework usage Locale loc = new Locale(this.lang); fc.getViewRoot().setLocale(loc); } But the lang cannot be get like this. How could I resolve my problem? Thanks

Locale

2006-05-31 Thread sjarlier
Hi! I got into troubles with the method getDisplayLanguage from java.util.locale. The result of this method in my program is that my available languages are displayed in French (anglais, français). I suppose because my Windows is in French. But is there a way to return the English version of

RE: Locale

2006-05-31 Thread Frank Felix Debatin
: Locale Hi! I got into troubles with the method getDisplayLanguage from java.util.locale. The result of this method in my program is that my available languages are displayed in French (anglais, français). I suppose because my Windows is in French. But is there a way to return

RE: Locale

2006-05-31 Thread sjarlier
 : Frank Felix Debatin [mailto:[EMAIL PROTECTED] Envoyé : mercredi 31 mai 2006 11:55 À : 'MyFaces Discussion'; [EMAIL PROTECTED] Objet : RE: Locale Sophie, just use getDisplayLanguage(Locale.US), for example Locale.FR.getDisplayLanguage(Locale.US) should return French. Frank Felix

RE: Locale

2006-05-31 Thread Frank Felix Debatin
] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 3:15 PM To: 'Frank Felix Debatin'; 'MyFaces Discussion' Subject: RE: Locale Thanks a lot Frank, Finally I found as well that I can getLanguage instead of getDisplay and check the result but your solution is better. Another question: I am

Re: spontaneous locale change in view root

2006-05-26 Thread Martin Marinschek
Are you using redirect? On a redirect, the locale is lost... regards, Martin On 5/26/06, Jan Zach [EMAIL PROTECTED] wrote: Hi, I've a multilingual web site. When a session is being established I'm checking the requsted locale in the request and set it into the view root. I've also locale

Re: spontaneous locale change in view root

2006-05-26 Thread Jan Zach
No , I use JSF navigation. Regards Jan __ Od: [EMAIL PROTECTED] Komu: MyFaces Discussion users@myfaces.apache.org CC: Datum: 26.05.2006 08:45 Předmět: Re: spontaneous locale change in view root Are you using redirect

spontaneous locale change in view root

2006-05-25 Thread Jan Zach
Hi, I've a multilingual web site. When a session is being established I'm checking the requsted locale in the request and set it into the view root. I've also locale switching buttons on the page to select  locale explicitly. Everything works nicely but... in fact there are two sites in one

org.apache.myfaces.util.LocaleUtils toLocale, SEVERE: Locale name null or empty, ignoring

2006-02-02 Thread Yogesh Chaudhari
Hi, I am receiving following error message when I configurated my application to use myface implementation 1.1.1. INFO: Reading config /WEB-INF/faces-config.xml Feb 2, 2006 5:53:05 AM org.apache.myfaces.util.LocaleUtils toLocale SEVERE: Locale name null or empty, ignoring Same error message

Re: Problem in displaying dates(Locale)

2006-01-20 Thread Adrien FOURES
Look MYFACES-656 http://issues.apache.org/jira/browse/MYFACES-656 in myfaces' bug database (jira) Nikita Shah wrote: Hi Am having a problem in displaying the date of curent locale in jsf tags. I think by default the locale EN_US is taken. But i want it to be currentLocale. Please guide

Re: Problem in displaying dates(Locale)

2006-01-20 Thread Nikita Shah
Hi AdrienThanks a lot for your reply, I did follow that link and got a workaround for it too...~NikitaAdrien FOURES [EMAIL PROTECTED] wrote: Look MYFACES-656 in myfaces' bug database (jira)Nikita Shah wrote: Hi Am having a problem in displaying the date of curent locale in jsf tags. I

Problem in displaying dates(Locale)

2006-01-19 Thread Nikita Shah
Hi Am having a problem in displaying the date of curent locale in jsf tags. I think by default the locale EN_US is taken. But i want it to be currentLocale. Please guide me if I am wrong. And also please help me in getting the current date according to the locale. The following is jsp page

Set default locale for good and forget about it?

2005-12-27 Thread xzuma
Hello, I have the following in my faces-config.xml file: locale-config default-localefr/default-locale supported-localeen/supported-locale supported-localefr/supported-locale /locale-config and would like the default-locale fr to be set once for my application on startup. After that I

Re: Problem with Changing the locale, t:dataTable f:verbatim

2005-12-01 Thread Volker Weber
Hi Thomas, i don't know what the problem with datatable and verbatim is, may be worth to investigate, but to enable users to change the locale independent from the preferences settings in there browsers, you should provide a bean with a locale property. add the attribute locale to the f:view tag

Problem with Changing the locale, t:dataTable f:verbatim

2005-11-26 Thread YinYang
Hi all, I'm a newbie and have the following problem: We have in all pages commandLinks to enable the users change the Locale. The backing-Bean-methods look like e.g.: public String at() { FacesContext context = FacesContext.getCurrentInstance(); context.getViewRoot().setLocale

RE: Using MyFaces as Portlet within Liferay - wrong Locale is used

2005-11-14 Thread Strittmatter, Stephan
Hello, I found a solution on my own. Probably someone else could find it useful: Define a PhaseListener, which is called on PhaseId.RENDER_RESPONSE. At the beforePhase you can call the PortalUtil-class of liferay to get the current user and retrieve the Locale of this user. (I wrapped

Re: Using MyFaces as Portlet within Liferay - wrong Locale is used

2005-11-08 Thread Kevin Liang
Liferay use LanguageUtil.get() to set the language. Myfaces doesn't use that for sure. --- Strittmatter, Stephan [EMAIL PROTECTED] wrote: Hello together, I try to implement a portlet for Lifray based on MyFaces. It has to support different languages, which is working fine in the

locale sensitive help pages

2005-11-07 Thread Dave
When a user click Help link, a locale sensitive help page will pop up. If I use Resource Bundle, adding a property in existing messages.properties, the whole help page is just one property. However, the property name/value is for one line only. name = value The help page, like other HTML page

Change Locale

2005-10-20 Thread Jatinder Singh
Hi, I'm trying to change the locale for the current user like this: JSP: h:commandLink immediate=true action=#{Home.germanLocal} h:graphicImage value=/german_flag.gif/ /h:commandLink PageBean: public void germanLocal() { FacesContext.getCurrentInstance().getViewRoot

Re: Change Locale

2005-10-20 Thread Volker Weber
Hi, you need to specifiy the locale to a bean in f:view tag and change the value there also. Jatinder Singh wrote: Hi, I'm trying to change the locale for the current user like this: JSP: h:commandLink immediate=true action=#{Home.germanLocal} h:graphicImage value=/german_flag.gif

RE: Change Locale

2005-10-20 Thread Jatinder Singh
Hi, Thanks for setting me in the right direction. It works! -Jatinder -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 11:31 AM To: MyFaces Discussion Subject: Re: Change Locale Hi, you need to specifiy the locale to a bean in f:view

TR : Dynamic Locale change

2005-08-26 Thread Clément Maignien
Title: Message Sorry for asking so much questions but I'll have to present my webapp very soon and I need the multi-language to works fine. Has anybody any idea ? Why the locale is reset to the default one ? Could it comes from a redirect/ instruction in my faces-config.xml ? Ty for your

Re: TR : Dynamic Locale change

2005-08-26 Thread Udo Schnurpfeil
If you set the locale in the UIViewRoot manually, I don't know if it will be passed on to the next UIViewRoot. One solution for you might be putting the users locale in the session (e.g. the key locale or user.locale if your have a user object) and use the locale attribute f:view locale

RE : TR : Dynamic Locale change

2005-08-26 Thread Clément Maignien
Thx Udo but look at the NB of my first message --- NB : I'm trying not to use the locale parameter of the f:view tag This solution works (I've tried it) but not so clean in my opinion. The use of FacesContext.getCurrentInstance().getFacesContext().getViewRoot().setLocale(l) should work

Re: TR : Dynamic Locale change

2005-08-26 Thread giannidoe
I suggest you take a look at the list archives for Maintain locale across views. I had a similar issue and it seems the locale is not maintained across views when a redirect/ is used. In the end I set f:view locale=#{visit.locale}, where visit is a session scoped bean. Gianni Sorry

Re: TR : Dynamic Locale change

2005-08-26 Thread Martin Marinschek
a look at the list archives for Maintain locale across views. I had a similar issue and it seems the locale is not maintained across views when a redirect/ is used. In the end I set f:view locale=#{visit.locale}, where visit is a session scoped bean. Gianni Sorry for asking so much

RE : TR : Dynamic Locale change

2005-08-26 Thread Clément Maignien
OK thx Gianni. So if I sum up things : 2 solutions to dynamically change your application locale : *1- If you use the server STATE_SAVING_METHOD with somes /redirect instructions : Create a bean to save the locale choice This bean must be in session scope or request + saveState Then in each

RE : RE : TR : Dynamic Locale change

2005-08-26 Thread Clément Maignien
Another solution provided by Martin : -Message d'origine- De : Martin Marinschek [mailto:[EMAIL PROTECTED] Envoyé : vendredi 26 août 2005 16:37 À : MyFaces Discussion Objet : Re: TR : Dynamic Locale change The solution would be quite similar to what was done in a collaborative effort

Dynamic Locale change

2005-08-22 Thread Clément Maignien
{ ... FacesUtil.setLocale(selectedLocale); ... } ... } FacesUtil { ... public static void setLocale(Locale l) { FacesContext.getCurrentInstance().getFacesContext().getViewRoot().setLocale(l); } ... } It works fine when the action is executed (the language change), but as soonas I navigate

Maintain locale across views

2005-07-11 Thread giannidoe
I'm starting out with JSF and I'd appreciate some clarification regarding internationalization: I'm using a select menu and backing bean to call setLocale() on the current view, this works fine and I can change the locale of the view in question. But when I navigate to another view

Re: Maintain locale across views

2005-07-11 Thread Daniel Zwink
Hi, I'm using a select menu and backing bean to call setLocale() on the current view, this works fine and I can change the locale of the view in question. But when I navigate to another view the locale reverts back to the browser default. Is this correct behavior? AFAIK yes. Do I need

Re: Maintain locale across views

2005-07-11 Thread Craig McClanahan
On 7/11/05, Daniel Zwink [EMAIL PROTECTED] wrote: Hi, I'm using a select menu and backing bean to call setLocale() on the current view, this works fine and I can change the locale of the view in question. But when I navigate to another view the locale reverts back to the browser default

Re: Maintain locale across views

2005-07-11 Thread giannidoe
I tried with the RI and was still getting the same issue then I realised it may be something to do with the fact I was using redirect/ in the navigation rule. If I take out the redirect/ then the locale is maintained across views, with redirect it's not. Thanks Gianni On 11/lug/05, at 18

Re: Maintain locale across views

2005-07-11 Thread Craig McClanahan
On 7/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I tried with the RI and was still getting the same issue then I realised it may be something to do with the fact I was using redirect/ in the navigation rule. If I take out the redirect/ then the locale is maintained across views

Re: Maintain locale across views

2005-07-11 Thread ir . ing . Jan Dockx
We use a PhaseListener. Locale switching stores the locale the JSTL way, and then on each request this code is executed: package be.peopleware.jsf_I; import java.util.Locale; import java.util.Map; import javax.faces.FacesException; import javax.faces.component.UIViewRoot; import

Locale issue with MyFaces (not RI)

2005-05-17 Thread Bryan Dickey
I've noticed the following Locale issue in MyFaces (1.0.8) not seen in Sun's RI (1.1_01): Unicode character escape sequences (e.g. \u9078\u629e) for Japanese characters (contained in a properties file) render as question marks when escape=false in an outputText component. When escape=true

Currency converter and default locale

2005-01-30 Thread Travis Reeder
I have been wondering for a while why when I use the currency converter, it outputs some strange currency symbol and I ran some tests and it looks to me like MyFaces isn't initializing the Locale properly. This is what I see: ¤98.20 When I use: h:outputText value=#{bucket.revenue