Client-side validation is still pretty new in Tapestry 
and it causes some problems here and there, so by 
default it is off.

You must set the clientScriptingEnabled property of the 
validator to true.

Please see the Workbench for examples. 

--
[EMAIL PROTECTED]

http://tapestry.sf.net
> 
> I use the numberValidator for a text control. I expected a Java Script
> error popup if I typed in alphabets in the field.
> I don't get one. The server side validation does work, however.
> Specific enough?
> Manoj
> 
> 
> 
>                                                                                      
>                              
>                     [EMAIL PROTECTED]                                                   
>                              
>                     om                   To:     [EMAIL PROTECTED]            
>                              
>                                          cc:                                         
>                              
>                     10/07/02 11:08       Subject:     Re: [Tapestry-developer] 
> Problems with ValidField...         
>                     PM                                                               
>                              
>                                                                                      
>                              
>                                                                                      
>                              
> 
> 
> 
> 
> It is always helpful to be specific.  What is "fails"?
> Does the wrong thing?  Throws an exception (stack traces
> very helpful)?  Steals your girlfriend and runs a big
> tab on your credit card?
> 
> --
> [EMAIL PROTECTED]
> 
> http://tapestry.sf.net
> >
> > Got that!
> > The numeric validator works fine if I type in a number but fails if I
> type
> > in a alphabetic string.
> > Is this how it is supposed to be?
> > Am I doing something wrong?
> > Thanks!
> > Manoj
> >
> > ----------------  Howard M. Lewis Ship wrote  ----------------
> > When using ValidField with a numeric validator, you must
> > set the type parameter of the ValidField to indicate the
> > Java type to convert to and from.
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Tapestry-developer mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> 
> 
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to