Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 38447 invoked from network); 10 Feb 2006 03:14:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 03:14:02 -0000 Received: (qmail 27985 invoked by uid 500); 10 Feb 2006 03:14:00 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 27961 invoked by uid 500); 10 Feb 2006 03:14:00 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 27948 invoked by uid 99); 10 Feb 2006 03:14:00 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 19:13:59 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id DBDECDD; Fri, 10 Feb 2006 04:13:38 +0100 (CET) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 38581] - [validator] error: form.getAttributeNode is not a function in netscape 4.7 In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060210031338.DBDECDD@ajax.apache.org> Date: Fri, 10 Feb 2006 04:13:38 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=38581 ------- Additional Comments From reddy.yugandhar@gmail.com 2006-02-10 04:13 ------- (In reply to comment #1) > Struts 1.2.8 ships with Commons Validator 1.1.4 - the latest version of Commons > Validator (1.2.0) has changed how this works... > > 1) First it tests if the getAttributeNode method exists - if it does it uses it. > 2) Second it tests if the getAttribute method exists - if it does it uses it. > 3) Otherwise uses either "form.id" or "form.name" > > You can download Commons Validator 1.2.0 here: > > http://jakarta.apache.org/commons/validator/downloads.html > > Simply replace the Commons Validator jar in your struts application to upgrade > to Validator 1.2.0. More details of Version 1.2.0 and upgrading are here: > > http://wiki.apache.org/jakarta-commons/ValidatorVersion120 > > If you could try this version out with Netscape 4.7 and let us know if > Validator 1.2.0 resolves this issue, thx. Thanks for the reply. Even after downloading the Validator 1.2.0. it still did not work with netscape4.79. But this time it did not give me the previous error message('form.getAttributeNode is not a function') , but did not perform client side validation. When I looked into it and debugged, I came to know that in validateRequired(form) method of validateRequired.js in one of the if statement it was checking if (field.disabled==false). But it was receiving the value as 'undefined' from the application. So that's the reason it could not perform the validation and did not show the client side validation error message. So could you please throw some light on how to fix it. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org