You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nandita Rajagopalan <na...@cisco.com> on 2004/01/20 17:24:13 UTC

validation question

Hi,

I have a form that is shared my multiple JSPs. My problem comes in validating the form. One text field which is required in a page is not in the other. How do I set up the validation.xml to be generic enough so that the above condition can be met.

Thanks for any help.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Back Button (topic revisited)

Posted by Martin Gainty <mg...@hotmail.com>.
Hello

My apologies for asking a question from previous email but I so really need
an answer.
Currently when the operator presses/clicks back the form contents get set to
default values.
How does one skip the reset() method when activating the back button?

Many Thanks,
Martin Gainty
617-852-7822

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: validation question

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
hi

use the DynaValidatorActionForm

in validate.xml
enter the path of submit instead of "complete"-formbeanName

name="/submit1"

and so on

greetings



-----Original Message-----
From: Nandita Rajagopalan [mailto:narajago@cisco.com] 
Sent: Tuesday, January 20, 2004 5:24 PM
To: struts-user@jakarta.apache.org
Subject: validation question


Hi,

I have a form that is shared my multiple JSPs. My problem comes in
validating the form. One text field which is required in a page is not
in the other. How do I set up the validation.xml to be generic enough so
that the above condition can be met.

Thanks for any help.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org