You don't need 2 actions only 3 mappings yes
But action would only be 1 Single Class


-----Original Message-----
From: Leonardo Francalanci [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 3:15 PM
To: Struts Users Mailing List
Subject: R: repost: validator & retrieving data


> Ok,
> I understand you...
> Let me I think it...

I found 2 solutions so far:

1) hidden field in the form
(extending a Form that has an hidden field and extending an action that
has a method like isComingFromAValidatorError() that looks for the value
of the hidden
par)

2) If the request is a GET then it's the first time, otherwise we are
coming from an validator error (ugly...)

3) Anant's solution (3 <action> elements and 2 actions)



But I don't like them :(

Any other ideas?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to