Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
FileDownloader problem
I started migrate from 6 to 7 and strange behavior noticed in FileDownloader class (latest vaadin release).
In order to download file through button click, I have to click button twice first time!
After button clicked twice next clicks react normal. If we try download file "old style"
way(Page.getCurrent().open(resource, "_self", false)) download start immediatly at first time, but UI
enters a state after which does not respond to user input. Saves only refresh browser.
Has anyone seen or what to do?
Thanks.
Last updated on
You cannot reply to this thread.