Yes, I was expecting client-side validation to work for URLs. And ya, other
validations like "required", "email", "maxlength"..etc are working fine on
this form.
Thanks.
-Pushkar
-----Original Message-----
From: Niall Pemberton [mailto:niall.pemberton@(protected)]
Sent: Tuesday, January 30, 2007 9:11 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.3.5 and URL Validation
On 1/30/07, Dave Newton <newton.dave@(protected):
> --- pushkar.p@(protected):
> > Is there anything else that I need to do for URL
> > validation besides declaring in validation.xml?
>
> You need to provide more information. ActionForm
> class, how you're mapping from action => validation
> (bean name or action name), does any *other*
> validation on the same page work, etc.
Also are you expecting the client side validation to work for this? There is
no client URL validation - only sever side.
Niall
P.S. The struts-examples webapp shipped with 1.3.5 has a "type" validator
form that includes a URL validated field.
> Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)