Hi,
In case ActionForm validate function throws an error,I dont want form fields
to get reset.
How can I do this?
Thanks
Rahul
Hi Paul,
Thats a requirement.The error has to be shown with the original wrongly filled
fields.
The reset is ok if there is no error.Then the same ActionForm is used for new
entries.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Paul Benedict
I found a non elegant way of doing it.
Was wondering if it was possible to do it through config.
But this will do for now,
Thanks..
-Original Message-
From: Asthana, Rahul [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 2:00 PM
To: Struts Users Mailing List
Subject: RE: Dont
Asthana,
There is nothing wrong with the technical requirement, but not invoking
reset() smells to me. The use of reset() is to reset the form before
population. Afterwards, the values of the request are populated. Why doesn't
this work for you? If there are wrong values, they will be there after
Why don't you want the reset?
On 9/17/07, Asthana, Rahul [EMAIL PROTECTED] wrote:
Hi,
In case ActionForm validate function throws an error,I dont want form
fields to get reset.
How can I do this?
Thanks
Rahul
5 matches
Mail list logo