cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY ...@zorel.org>
Subject Re: i18n, date & binding framework.
Date Thu, 15 Sep 2005 12:20:17 GMT
Thomas Lutz a écrit :
> 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.
> 

Hmmmmm... I was hoping Cocoon/Cforms/i18n could handle that with no
modification of my flows. Thank you for the answer.

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


Mime
View raw message