commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mfncoo...@gmail.com>
Subject Re: Incompatible Validation Javascript with JWebunit
Date Thu, 14 Oct 2004 04:23:32 GMT
On Tue, 12 Oct 2004 18:06:55 +0800, Oliver Chua <oliverchua@softhome.net> wrote:
> I've recently migrated from Struts 1.1 to Struts 1.2.4
> I'm using jwebUnit for functional testing of my struts app.
> (JwebUnit 1.2 dependent on HttpUnit 1.5.4 and Rhino 1.5R4.1 I think)
> 
> After I migrated, some of my functional tests failed.
> It objects to the getAttributeNode method in the generated javascript.

What is the "it" you are referring to that is objecting? The
getAttributeNode() function is part of the W3C DOM Level 1, and is
supported by all of the major browsers.

--
Martin Cooper


> This is for the part that is generated when the javascript attribute
> is set to true. (i.e.  function validateFloatRange(form), etc. )
> 
> There is no issue when using Internet Explorer, as its javascript engine can
> handle it.
> However, to make my JWebUnit tests run, I have to turn off javascript.
> I realize this is the new version of the javascript part of the validator.
> But, is there a way to make the static javascript part compatible with
> jWebUnit, maybe the old version will stil work when plugged in?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
>

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


Mime
View raw message