I am in a Struts 1 app in the WSAD 5.x IDE , using jmesa-3.0.4-retro.jar with Java 1.4 on a Windows XP VMware VM. I am getting the onInvokeAction "object expected" error when clicking on any of the rendered table controls. I have jquery-1.5.2.js declared in this order:
<SCRIPT type="text/javascript" src="<%=request.getContextPath()%>/scripts/common/jmesa/jquery-1.5.2.js"></SCRIPT>
<SCRIPT type="text/javascript" src="<%=request.getContextPath()%>/scripts/common/jmesa/jquery.jmesa.js"></SCRIPT>
<SCRIPT type="text/javascript" src="<%=request.getContextPath()%>/scripts/common/jmesa/jmesa.js"></SCRIPT>
In the IE 8 debugger with a breakpoint on setOnInvokeAction, I can see that the onInvokeAction gets set when I refresh the page and the table is re-rendered.
But when I click on any of the controls I get the "object expected" error on onInvokeAction. I have tried both the minimized and full versions of jquery-1.5.2.js. I am using the default preferences file, without overriding any values.
Could this be due to using Java 1.4, or would it be totally unrelated to that since it's in the JavaScript layer? Any ideas why I might be getting the error?