thanks Jason,

it was like you said
(and the reason for the conversionerror was that i used "-" instead of "/" to seperate mm/dd/yyyy ...)

Joe

Inactive hide details for "Jason Carreira" <[EMAIL PROTECTED]>"Jason Carreira" <[EMAIL PROTECTED]>




          "Jason Carreira" <[EMAIL PROTECTED]>
          Gesendet von: [EMAIL PROTECTED]

          21.02.2004 00:33
          Bitte antworten an opensymphony-webwork



An: <[EMAIL PROTECTED]>
Kopie:
Thema: RE: [OS-webwork] new to ww2 - problem with submitting date fields


Well... check ActionContext.getContext().getConversionErrors() to see if the date fields are in there... If it doesn't convert correctly, that's where it will show up.
-----Original Message-----
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
Friday, February 20, 2004 5:30 PM
To:
[EMAIL PROTECTED]
Subject:
[OS-webwork] new to ww2 - problem with submitting date fields

Dear all,

is there any special trick needed to populate bean properties of type java.util.Date?

i've an action class with a POJO in it, and all properties of the POJO are properly set on form upload, except those properties that are of type java.util.Date. When i changed those date fields to strings, it works.

What can i do - any hint would be appreciated!
Joe

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

<<inline: pic23811.gif>>

Reply via email to