Error on submit form
"mica" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <1148322037.176180.269560__13106.3003013425$1148322342$gmane$org@i39g2000cwa.googlegroups.com> |
Hello at all, I'm Micael Gallego. I'm working with JavaXPCOM embedding Mozilla in a Java application. My program load a webpage in Mozilla and then manipulate DOM of the loaded page. I have an error when I try to submit a Form. When I execute a JavaScript code from JavaXPCOM it works fine, but equivalent Java version to submit form fails. I'm using XulRunner 1.8.0.4, any ideas???? I have the following error: Exception in thread "main" org.mozilla.xpcom.XPCOMException: The function "submit" returned an error condition (0x80040111) at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method) at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:140) at $Proxy17.submit(Unknown Source) at org.mozilla.dom.html.HTMLFormElementImpl.submit(HTMLFormElementImpl.java:122) at TestFormSubmit.main(TestFormSubmit.java:26) I'm using the code of Eclipse ATF project as base of browser. Thanks for your time