What you can try: Search online for a program you can use to view this web content. Retype the address. Go back to the previous page.
You are probably using an old widgetset not compiled for the Vaadin version you are using. You should recompile or update your widgetset. Is it possible to check if if the client downloaded the file or if the download is finished. Who owns this outage? Building intelligent escalation chains for modern SRE.
Podcast Who is building clouds for the independent developer? Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer.
Linked Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings. The requested resource is not available. But it's a strange workflow..
I should have one single button called "Print". Have you got any idea? Carmelo Saffioti: Thank you for your answers, however I don't want to download the pdf, but to open it on a new browser tab. You call BrowserWindowOpener. You should just call AppUI.
The problem with it generating the report before you click the button is caused by line 44 of the paste:. Calling StreamResource. Since you wish to open the resource in a new window, I assume you don't wish it to be automatically downloaded, so you can remove the whole line, especially since I'm quite sure it doesn't even do anything with BrowserWindowOpener.
Hi, I've got different types of report, which should be printed on button click based on its type. Asked 7 years, 11 months ago. Active 3 years, 8 months ago. Viewed 13k times. Thanks raffael. The problem with the hidden button is, that this does not work on devices with iOS. And the suggested workaround when using MenuBar and MenuItem would result in using hidden buttons Add a comment.
Active Oldest Votes. Do these solutions open the file in a new tab or a new popup? How do you define where does the file gets downloaded to? Here is my work-around. It works like a charm for me. Hope it will help you. Create a button and hide it by Css NOT by code: button.
0コメント