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

2010-04-01 Thread Derry Cannon
Can you try with convertDateTime and specify the pattern that you want to use No luck - the DateTimeConverter associated with the inputDate gets called first. When t:inputDate is rendered, its input fields are rendered in this form: encodeInputDay(inputDate, writer, clientId,

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 and

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

2010-03-31 Thread Leonardo Uribe
Hi Did you tried with the property popupDateFormat on t:inputCalendar? The default is : javax.text.SimpleDateFormat(dd.MM., facesContext.getViewRoot().getLocale()); regards, Leonardo Uribe 2010/3/31 Derry Cannon d3r...@gmail.com I'm having trouble using the Tomahawk inputDate for non-US

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
Hi When t:inputDate is rendered, its input fields are rendered in this form: encodeInputDay(inputDate, writer, clientId, userData, disabled, readonly); encodeInputMonth(inputDate, writer, clientId, userData, currentLocale, disabled, readonly);

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

2010-03-31 Thread Now I find myself in question
Can you try with convertDateTime and specify the pattern that you want to use On Thu, Apr 1, 2010 at 3:25 AM, Derry Cannon d3r...@gmail.com wrote: No, I've not tried the inputCalendar. In stepping through the debugger, I'm seeing places where facesContext.getViewRoot().getLocale() is