Another way, I created the report using RPC and then I 'window.opened'
a new window with the URL of a servlet and the proper ContentType.
The report was opened in a new window with Acrobat (PDF), Excel
(XLS), ...
On May 11, 7:44 pm, Sergio Silva sdcsi...@gmail.com wrote:
Just to let everyone
CAREFUL! If you do your processing in an RPC remoteServiceServlet,
then in onSuccess() you window.open using a particular URL to fetch
the generated file your users (well non-IE users anyway) will never
see that file.
Popup blockers will prevent the opening of a window that is not a
Just to let everyone updated the only 'clean' way i found to solve
this problem.
Instead of making a RCP call to generate the report (i believe this
was the cause of may problem), I've created a Hidden form with hidden
components, filled with all atributes i needed, what is posted when
the user
I found a dirty solution to solve the problem:
ListString control = new ArrayListString();
reportService.generateReport(...lots of params..., new
AsyncCallback
() {
public void onFailure(final Throwable throwable) {
control.add(false);
}
public void onSuccess(final Object o) {
I have a problem downloading a file using Internet Explorer 7:
I Have a GWT almost offline application that works and generates
lots of data that will be written into a PDF report.
The only call that the application do to a servlet is when he needs to
generate the PDF report.
I'm using birt