In my code I use the following technique to download files
Public void onSuccess(Object result) {
String reportName = (String)result;
String url = GWT.getModuleBaseURL() + "ReportUploadHandler"
+ "?rname=" + reportName;
Frame frame = new Frame(url);
frame.setVisible(false);
RootPanel.get().add(frame);
}
It seems to work just fine however occasionally I see the following message
(sometimes repeated several times)
Cannot read property 'offsetWidth' of null in the console of the Chrome
browser. I have never seen it in Fire Fox.
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/endr_OS1ngMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.