My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 312: onInvokeAction object expected error with jquery-1.5.2.js declared in proper order
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by r.tim.el...@gmail.com, Apr 21, 2011
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?


Apr 21, 2011
#1 r.tim.el...@gmail.com
Please disregard.  I realized that I needed to provide my own onInvokeAction function in the script.

Powered by Google Project Hosting