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
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&
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
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
10 matches
Mail list logo