struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <>
Subject Re: Validation in ie5
Date Thu, 05 Jan 2006 09:14:17 GMT

Could you please reply to the mailing lists rather than me directly, thx.

I applied a patch to Commons Validator 1.2.0 which resolved an IE5.5

...and I was hoping that would resolve your issue.

The second error you mention looks like a similar problem - it doesn't seem
able to retrieve the name/id of the form bean - I'm guessing that by the
fact you say your getting 'undefined_mask' - looks like its returning
"undefined" instead of the form bean name.

One thing we did in Commons Validator 1.2.0 was refactor the logic to get
the form bean name to a common javascript function in the
validateUtilities.js script. What you could do is create a custom version of
the validateUtilities.js script that works for you in IE5 and then configure
struts to use your custom script (in the validator-rules.xml) rather than
the standard one shipped in the commons validator jar.

Unfortunately I do not have a copy of IE5, so I can't reproduce your error
and try/test solutions to it - so either yourself or someone else will need
to come up with something to resolve this. The first step is to debug the
javascript and find out exactly what is going wrong.


----- Original Message ----- 
From: <>
To: <>
Sent: Thursday, January 05, 2006 8:33 AM
Subject: Re: Validation in ie5

I am using struts 1.2.7, and I have tryied with the commons-validator
1.2.0, but that didn't help.

When I use ie5 and i.e try to submit a form where some client validation
is done I get errors in a popup like...

A Runtime error has occurred.
Do you wish to Debug ?
Line: 1361
Error: Expected ';'


A Runtime error has occurred.
Do you wish to Debug ?
Line: 1360
Error: 'undifined_mask' is undefined

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message