Hello All,

I am currently working on a GWT application that requires report
printing.  The use can select report parameters from a screen, and
upon clicking print we would like to display the file as it is being
generated.  Currently we have server side code that is generating HTML
and writing it to a file.  When the user clicks print, an RPC is being
made to pass the report parameters to the server and begin the
report.  A second RPC is made after the report has started to obtain
the report's URL.  From here, we are creating a Frame and setting the
URL to be the URL retrieved by the second RPC.

The issue I am currently running into, is that when setUrl gets
called, it only displays as much HTML that was contained in the file
at the time of the call.  What would be the best way to refresh just
the frame containing the HTML report?  It appears making subsequent
calls to setUrl passing in the same Url each time would do the trick,
but it actually doesn't seem to contain the additional content that
would've been written since the last call.  It is also resetting the
vertical scroll bar's position each time back to the top of the bar
which is something else I would like to prevent.  Is there a better
way to go about doing this?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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.

Reply via email to