cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Lutz <mat...@gmx.at>
Subject Re: i18n, date & binding framework.
Date Thu, 15 Sep 2005 12:05:45 GMT
Aurélien DEHAY wrote:

>Hi.
>
>Thomas Lutz a écrit :
>  
>
>>What exactly does not work ?
>>    
>>
>
>The displayed date & the date in the input field are not consistant.
>
>For example I'd like, in en locale, the following behaviour: the client
>enter 01/13/2000 in the forms. When displaying in en locale =>
>01/13/2000, and when displaying in fr locale => 13/01/2000.
>  
>
ok, this sounds familiar :-).

looks like your form takes the hosts locale...

have a look at

http://www.mail-archive.com/dev@cocoon.apache.org/msg33411.html

i use javaflow and had to add two constructors to FormInstance.java to 
pass the user agents locale. If you use JavaScript as flow engine 
Leszek's first answer will do it.

HTH,
tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message