I use tapestry-beanvalidation and tapestry-jquery. As a result, when I open
up a page, I get a javascript error in tapestry-beanvalidator.js:15:

Cannot set property 'notnull' of undefined

The offending line is :

Tapestry.Validator.notnull = function(field, message, spec)
 Uncaught TypeError: Cannot set property 'notnull' of undefined
{
 Tapestry.Validator.required(field, message);
};

This is obviously the client-side validation for beanvalidation, possibly
depending on Prototype. I was going to look to see if I can exclude the JS
from loading, but I was wondering if anyone else has run into the same
issue and if there is a better way of dealing with it.

Cheers,

Alex K

Reply via email to