I've used it and it works fine.  What you have below should be sufficient
for disabling client-side validation.  An even easier way is to turn off
Javascript on your browser (easy in Mozilla or Phoenix, harder in IE).  One
think to make sure of is that the "input" value is set on your
action-mapping.  If the input refers to a forward name, make sure and set
inputForward="true" on your <controller> element:

http://jakarta.apache.org/struts/userGuide/configuration.html#controller_con
fig

Also, I recently discovered that client-side validation fails if you don't
have all the validator *required* fields on your form.  Server-side still
works in this case.

HTH,

Matt

-----Original Message-----
From: Hohlen, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 3:01 PM
To: Struts-User (E-mail)
Subject: Is Server Side Validation Working in Struts 1.1 Beta 3?


Has anyone been able to get server side validation to work with beta 3?  My
team is using client-side (JavaScript) validation, but I decided to test the
server-side validation to make sure it works (as a safety net).  However,
when I did this, server-side validation does not appear to throw any errors
and I get forwarded to the "success" URL.  I saw some rumblings on the
mailing list about this not working in earlier versions of Struts 1.1, but
nothing of late.  BTW, to disable client-side validation, I simply removed
the "onSubmit=return validateMyForm(this)" from my <hmtl:form> tag.  That
should be enough, right?

Thanks,

JOHN

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


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

Reply via email to