Before explaining my problem, I must say that my GWT version is 2.2.0 and the error is only used when Happens when i Internet Explorer (IE 8 in this case)
I have a small GWT project that throws a button the next method:
Private zero expotarExpediente (VistaExpediente Vista) { Last String Template URL = GWT.getHostPageBaseURL () + "Export? Id =" + vista.getId (); Window.Open (Template URL, "Explorer's Explorer Expands:" + Vista. NewswereexDentain ("," "); } This method creates a template URL to call the classic HTTPServlet ("Exporter"), which generates a ZIP file for users to download. Sentence window Open a window in the Open (...) browser that allows to download the file.
It works properly in all browsers except Internet Explorer. Thrown exception is beside: 08: 31.208 [error] [sistmedfiniciontramites] Exempt exceptions dropped out com.google.gwt.core.client
Exception exception Next
10 Javascript expansion: (error): logic not válido. Number: -2147024809 Description: Argumento no válido com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke (ModuleSpaceOOPHM.java:129) (BrowserChannelServer.java: 237) .shell.moduleSpace.invokeNative (moduleSpace.java reader) com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject (ModuleSpace.java:269) com.google.gwt at com.google.gwt.dev. Com.google.gwt.core.client.impl.Impl.apply (Impl.java) com.google.gwt.core.client.impl.Impl on dev.shell.JavaScriptHost.invokeNativeObject at (JavaScriptHost .java: 91) At sun.reflect.GeneratedMethodAccessor18.invoke sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown source) at .entry0 (Impl.java 2814) com.google (unknown source) at java.lang.reflect.Method.invoke com.google. At gwt.dev.shell.MethodAdaptor Call us on (com.php). On Com.google.gwt.dev.shell BrowserChannelServe com.google.gwt.dev.shell.browserChannelServer.run on rc.bt.dev.shell.BrowserChannelServer.processConnection (BrowserChannelServer.java + 3131) r.reactToMessages (BrowserChannelServer.java:281) Browser BrowserSearch.run (BrowserChannelServer.java: 352) at java.lang.Thread.run (unknown source)
I do not find any decent solution for searching by Google. I would like to know if anyone had this problem before Or there is such a problem and if he can remove it.
Thanks and sorry for my bad english.
Internet Explorer does not like the blank space in the name of the window when calling window .open () . Then your string: "Explorer's Explorer Address:" + vista.getNumeroExpediente () should be without spaces.
Comments
Post a Comment