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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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=click
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to