cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY ...@zorel.org>
Subject i18n, date & binding framework.
Date Thu, 15 Sep 2005 10:40:00 GMT
Hi all.

I'm trying to i18n the date in a form. I've got no problem for
displaying the i18nized date, but I wonder how I could, when the client
edit the form, display him a correct date.

I've got:
<fd:convertor type="formatting" variant="date" style="short">
   <fd:patterns>
      <fd:pattern>MM/dd/yyyy</fd:pattern>
      <fd:pattern locale="fr">dd-MM-yyyy</fd:pattern>
   </fd:patterns>
</fd:convertor>

in my form_definition.xml file and
<fd:convertor type="formatting" datatype="date">
   <fd:patterns>
      <fd:pattern>MM/dd/yyyy</fd:pattern>
   </fd:patterns>
</fd:convertor>

in my form_binding.xml file, but the behaviour is really strange. I
think I've missed something.

Can someome give me the trick? Regards.
-- 
Aurélien DEHAY

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


Mime
View raw message