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
Vaadin (7.6.3) View PDF
Hallo,
i want to view PDF in my application. In a other project i use the embedded component.
How to use this Prolem?
Thanks
Patrick
Last updated on
Hallo Vaadin exprerts,
the problem is still there.
I use Vaaadin 7.6.3 and Spring boot.
This is my method:
public void setPdfEmbedded() {
BrowserFrame browser = new BrowserFrame();
browser.setSource( new ExternalResource("http://localhost:8080/VAADIN/themes/demo/documents/help.pdf"));
//browser.setSource( new ThemeResource("documents/help.pdf"));
browser.setWidth("100%");
browser.setHeight("600px");
addComponent(browser);
}
if I use
browser.setSource( new ExternalResource("http://www.heise.de"));
the page appears.
But then I shown pdf, nothing...
What may I do?
Please Help!
Thanks Patrick
Last updated on
You cannot reply to this thread.