Users Mailing List
Subject: RE: ValidatorForm losing params when validation fails
The validate method of the form would be called before the
execute method of
action ..
Why do you have to call the form.validate(mapping, request) explicitly , I
doth think this code in acton would be executed
To: Struts Users Mailing List
Subject: RE: ValidatorForm losing params when validation fails
The validate method of the form would be called before the execute
method of action ..
Why do you have to call the form.validate(mapping, request) explicitly , I
doth think this code in acton would
Users Mailing List
Subject: RE: ValidatorForm losing params when validation fails
Yes .. It makes sense ..
Can u post the action mapping in the struts config .. That may give some
clue
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003
The following code fragment is used in a DispatchAction and when the
validation fails, the input form is returned unpopulated because all my form
fields lose the data that was originally sent with the request:
ActionErrors errors = form.validate(mapping, request);
if (!errors.isEmpty()) {
:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 6:45 AM
To: [EMAIL PROTECTED]
Subject: ValidatorForm losing params when validation fails
The following code fragment is used in a DispatchAction and when the
validation fails, the input form is returned unpopulated because all my form
fields lose
5 matches
Mail list logo