Monday, March 28, 2011

Re: GWT: com.google.gwt.core.client.JavaScriptException. only using Internet Explorer



2011/3/28 Sergio García <sergiotrapiello@gmail.com>
Hi,

Before explain my problem, I have to say that my GWT version is 2.2.0
and the error only has place when I use Internet Explorer (in this
case IE 8).

I have a little GWT project which contains a button that throws the
next method:

       private void expotarExpediente(VistaExpediente vista) {
               final String templateURL = GWT.getHostPageBaseURL() + "exportar?id="
                               + vista.getId();
               Window.open(
                               templateURL,
                               "Resultado de expotar el expediente: "
                                               + vista.getNumeroExpediente(), "");
       }


Are the arguments to Window.open() correct?
http://msdn.microsoft.com/en-us/library/ms536651%28v=vs.85%29.aspx

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment