I do that. (I do set client side validation on) I still don't get the
client side popup - when I type in alphabets into a text box validated by
numberValidator.
It doesn't work with the sample applications either!
Sometimes, the client side validations don't work AT ALL. - The java script
is not generated at all. This happens for the work bench applications too.
I haven't figured out when this happens, though!
Regards,
Manoj
[EMAIL PROTECTED]
om To: [EMAIL PROTECTED]
cc:
[EMAIL PROTECTED] (Tapestry Developer)
10/15/02 08:03 Subject: Re: [Tapestry-developer]
Problems with ValidField...
PM
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