rg'>
Sent: Thursday, January 05, 2006 2:10 PM
Subject: Re: Validation in ie5
Hi, I changed the retrieveFormName method so it now lookes like this :
function retrieveFormName(form) {
var x;
if (form.getAttributeNode) {
if (form.getAttributeNode("id")
Hi, I changed the retrieveFormName method so it now lookes like this :
function retrieveFormName(form) {
var x;
if (form.getAttributeNode) {
if (form.getAttributeNode("id") &&
form.getAttributeNode("id").value) {
x = form.getAttributeNode("id").value;
+ '_mask()');
with...
oMasked = eval('new ' + retrieveFormName(form) + '_mask();');
Whether that makes a difference in IE5 I'm only guessing in the dark.
Niall
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 05, 2006 10:
The diff is :
form.attributes["name"];
return form.attributes["name"];
Line 1361 is :
oMasked = eval('new ' + retrieveFormName(form) + '_mask()');
I can't see any difference between the two version of the retrieveFormName()
function you've pasted here.
Also can you find out whats on line 1361?
Niall
- Original Message -
From: <[EMAIL PROTECTED]>
Sent: Thursday, January 05, 2006 9:41 AM
Hi, I have replaced :
function retrieveF
Hi, I have replaced :
function retrieveFormName(form) {
// Please refer to Bugs 31534, 35127, 35294 & 37315
// for the history of the following code
if (form.getAttributeNode) {
if (form.getAttributeNode("id") &&
form.getAttributeNode("id").value) {
is to debug the
javascript and find out exactly what is going wrong.
Niall
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 commo
Saying "it doesn't work in ie5" doesn't really help alot - I don't have a
copy of ie5, so if you could specify the issue then it would be helpful.
Also what version of 1) Struts and 2) Commons Validator are you using? Can
you try upgrading to Commons Validator 1.2.0 and see if the issue still
occur
The Action framework doesn't support browser detection
out-oif-the-box. But, you could check the HTTP request flags from the
Action to determine the browser, and then forward to another version
of the page that didn't use client-side validation or used custom
validation.
You might want to report
9 matches
Mail list logo