s it does this for you:
http://struts.apache.org/1.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
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
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]>
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
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
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
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
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&
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' of type 'java.util.Date'".
I fill that field with following code: modifyForm.set("txtFieldName",new
Date());
So the object I'm assigning to that
9 matches
Mail list logo