Re: DynaValidatorForm with java.util.Date

2007-03-13 Thread Gareth Evans
Users Mailing List Subject: Re: DynaValidatorForm with java.util.Date On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Where do I register such a convertor? Simply add this code to my Action or do I have to add this somewhere else? I've figured out what my problem was, but now sth

RE: DynaValidatorForm with java.util.Date

2007-03-12 Thread bjorn.de.bakker
Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: maandag 12 maart 2007 16:46 To: Struts Users Mailing List Subject: Re: DynaValidatorForm with java.util.Date On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Where do I register such a convertor? Simp

Re: DynaValidatorForm with java.util.Date

2007-03-12 Thread Niall Pemberton
x/userGuide/building_controller.html#lazy_action_form_classes Niall -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: maandag 12 maart 2007 14:49 To: Struts Users Mailing List Subject: Re: DynaValidatorForm with java.util.Date On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>

RE: DynaValidatorForm with java.util.Date

2007-03-12 Thread bjorn.de.bakker
enter the page, this ArrayList is gone. What am I doing wrong here? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: maandag 12 maart 2007 14:49 To: Struts Users Mailing List Subject: Re: DynaValidatorForm with java.util.Date On 3/12/07, [EMAIL PROTECTED] &l

Re: DynaValidatorForm with java.util.Date

2007-03-12 Thread Niall Pemberton
TECTED] Sent: maandag 12 maart 2007 14:06 To: Struts Users Mailing List Subject: Re: DynaValidatorForm with java.util.Date The fields of action forms, including DynaValidatorForms are populated from request parameters, and these values are all in String variables. I suggest using a String variabl

RE: DynaValidatorForm with java.util.Date

2007-03-12 Thread bjorn.de.bakker
EMAIL PROTECTED] Sent: maandag 12 maart 2007 14:06 To: Struts Users Mailing List Subject: Re: DynaValidatorForm with java.util.Date The fields of action forms, including DynaValidatorForms are populated from request parameters, and these values are all in String variables. I suggest using a String var

Re: DynaValidatorForm with java.util.Date

2007-03-12 Thread Hubert Rabago
ble, then I'm in deep :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: maandag 12 maart 2007 10:26 To: user@struts.apache.org Subject: RE: DynaValidatorForm with java.util.Date Ok, I did some tests and debugging and this is the result: The errormsg is &q

RE: DynaValidatorForm with java.util.Date

2007-03-12 Thread bjorn.de.bakker
AIL PROTECTED] Sent: maandag 12 maart 2007 10:26 To: user@struts.apache.org Subject: RE: DynaValidatorForm with java.util.Date Ok, I did some tests and debugging and this is the result: The errormsg is "Cannot assign value of type 'java.lang.String' to property 'txtFieldName&

RE: DynaValidatorForm with java.util.Date

2007-03-12 Thread bjorn.de.bakker
uot;,new Date()); So the object I'm assigning to that field is a Date-object, but for some reason it is converted to a String. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: maandag 12 maart 2007 9:40 To: user@struts.apache.org Subject: DynaValidatorForm wit

DynaValidatorForm with java.util.Date

2007-03-12 Thread bjorn.de.bakker
Hi I have a form in which a Date is displayed, using fmt. It's static text, so no user input is required. The problem is the following. When the validation of that form fails, you return to that form. Actually, it should return to that form, but you're redirected to the error page. This i