Hi, I'm "someone" ;) Nice to see what I was up to a year ago :P
The resolution was here http://sourceforge.net/mailarchive/message.php?msg_id=8685591 Looks like HttpUnit 1.6 is available now, but have not tried this combination myself. Then there is still http://httpunit.sourceforge.net/doc/faq.html#unsupported if just copying the libs didn't help. I suppose you have already gone over all of this, but a summary and fresh post about this problem doesn't hurt I guess. I have not been able to spend too much time with jwebunit recently and never encountered that problem since using the newer httpunit libs. Good luck sorting it out <= Alex => >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of terrance grahn >Sent: Wednesday, June 22, 2005 6:12 PM >To: [email protected] >Subject: [Jwebunit-users] HttpUnitOptions not working - >getting 'The undefined value has no properties.' error. > > >Someone MUST have seen this before, but I cannot find it anywhere. >Actually I found someone that claims to have worked around it >here >http://sourceforge.net/mailarchive/message.php?msg_id=8674342 >, but this has not worked for me. > >bottom line: getting the following error: >com.meterware.httpunit.ScriptException: Event 'checkMemberValue();' >failed: org.mozilla.javascript.EvaluatorException: The >undefined value has no properties. (httpunit; line 24) > >setting HttpUnitOptions.setScriptingEnabled(false); (or any of >the other javascript error related properties) does not seem >to have any >effect. Greatly appreciate a workaround or a bug fix if anyone has >seen this before. > >jsp: ><script language=JavaScript> >function checkMemberValue() >{ > // bla bla - do something here >} ></script> > ><html:select property="associationMember" >onclick="checkMemberValue();" onchange="checkMemberValue();" > > <option value="" >selected="true">   >; </option> > <html:options collection="associationMemberTypes" >labelProperty="name" property="id"/> ></html:select> > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration >Strategies from IBM. Find simple to follow Roadmaps, >straightforward articles, informative Webcasts and more! Get >everything you need to get up to speed, fast. >http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick >_______________________________________________ >Jwebunit-users mailing list [email protected] >https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Jwebunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
