struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <>
Subject Re: How to enable the client side validation?
Date Wed, 26 Mar 2008 09:35:48 GMT
2008/3/26, Chen Chunwei <>:
> There's an attribute in <html:javascript> named method. You can specify a
> name in this attribute such as validateForm. Then specify the onsubmit event
> of the actual form with "return validateForm(this);". After all, the
> javascript works.
> The above solution comes from my colleague. But I wonder know is there any
> document refer to this? Or it should be a common sense?

Good catch. In fact, I think that the docs should be fixed, because also in
the draft docs there is no reference about it:

So feel free to open an issue (and provide a patch, if you can :-) ):


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message