On Wed, Nov 11, 2009 at 11:33 AM, davis <[email protected]>wrote:
> > Hi, part of the app I built with GWT has links to download PDF from > the server. I basically just pull the pdf content from the server and > do Window.open( .. ). > > The first time you do this, the pop-up blocker takes over and blocks > it. If you enable it, the browser reloads the page, which takes the > user back to the login page -- which can be a real UI annoyance. > > This is perhaps more a problem with me not dealing with Refresh/ > History correctly. I have implemented rudimentary history that has > only two tokens (login/homepage). The homepage is the entire app and > all navigation is with tabs, etc...but if the user does F5/Refresh, it > takes them back to the login page. > > What is the recommended path for solving this? > Serve the document into a frame? OTOH, you might also instruct your users to whitelist your site. > > Regards, > Davis > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
