struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Shrimpton <p...@shrimpton.co.uk>
Subject Validator : date
Date Thu, 17 Jul 2003 13:06:21 GMT
Hi,

I am having problems with client side date validation in 1.1.  If I set the 
depends value to include 'date', there seems to be a problem in the 
javascript generated.  I get the following error..

Error: Length is null or not an object.

The Error seems to be in the validation-rules.xml for the date valadation, 
line 12

 (datePattern.length > 0)) {

Any ideas?

Phil
-- 
 12:56pm  up 92 days,  1:49,  1 user,  load average: 0.34, 0.13, 0.05
           ICQ: 760757       AIM: pjshrimpton       Y!: pjshrimpton

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message