On 18 Nov 2003, at 12:55, Ugo Cei wrote:
[EMAIL PROTECTED] wrote:I have an object that have an java.sql.Date attribute. This attribute is displayed in a format yyyy-mm-dd. Could I define another format (dd.mm.yyyy) in Cocoon?
No AFAIK. You have to convert your Date to a string and back yourself. You'd be much better off using Woody, which provides decent support for basic datatyes and i18n.
or just use the i18n Transformer (here being used in a JXTemplate):
<i18n:date src-pattern="yyyy-MM-dd" pattern="short" value="#{your-date}" />
HTH
regards Jeremy
smime.p7s
Description: S/MIME cryptographic signature
