Hi,

I have another problem. The String Validator works fine. The
net.sf.tapestry.valid.NumberValidator doesn't. It gives the following error
message.

--------- error message ---------
The type parameter for field
net.sf.tapestry.valid.ValidField@4db0e3[LoginForm/inputValue] was not
specified and is required by the field's validator
--------- error message ---------

Trying <input jwcid="inputValue" type="text" /> doesn't work.

Can someone explain?

Regards,
Manoj


----------------  Howard M. Lewis Ship wrote  ----------------

required by the field's validator

If you replace your template's <body> tag with <body jwcid="body"> (as a
Body component) this will be fixed.

The null pointer is caused by the ValidField not being wrapped by a Body.

As a rule of thumb, always use the Body component.  More and more stuff is
depending on it.

The error message should be better, please add a bug.  It'll be fixed in
2.3.



-------------------------------------------------------
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