cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo Rivera <agalla...@agsoftware.dnsalias.com>
Subject Re: XMLForm and dates
Date Tue, 12 Nov 2002 14:13:41 GMT
hat database are you using? I am using PostgreSQL 7.2.

I resolve this problem setting the requiered field in the database with 
default value today.

Antonio Gallardo

El Martes, 12 de Noviembre de 2002 08:00, Sylvain.Thevoz@swisscom.com 
escribió:
> Hello,
>
> I use XMLForm and I want to put the today date in a form.
> The problem is that the today date has to be a String because the XMLForm
> simply display the value of the Bean class attribute. If this value is not
> a String, the date can't be read! But I want to store the today date in a
> Date format (because I have a timestamp format in my database).
>
> How to store the date in a Date type and display it like a String?
> How to do this??
>
> Thank you
> Sylvain
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message