Wednesday, October 30, 2013

Native File Chooser Dialog

Hi there,

I am experiencing an annoying issue. What I want to be able to do is:
  1. Have a custom file chooser widget (standard gwt-FileUpload hidden/off screen and a simple styled button shown).
  2. User clicks the button, the file dialog is shown
  3. User selects a file
  4. Checks performed on the file (e.g. pixel size) and if not valid, alert box shown and file chooser dialog is shown again
Now, I have everything working apart from the re-showing of the file chooser dialog in the last step. I have gone through the steps with the debugger and I can see the code executing the command in my JSNI function, but the dialog is never shown. Any ideas?



You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment