Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Is it possible to call a pdf viewer like pdfObject directly from Vaadin ?
I need to call PDFObject.js with my PDf File, but I don't find how to do that.
Thanks in advanced for your help.
You could also go the lazy way and just open pdf file. Decent browser will render it with pdf.js or some plugin (acrobat or another) without any custom code on you side.
Thanks for you response. I have tried to just open pdfFile aand it works.
but I am asked to use PDFObject.js
How can I call pdfObject ? I search either with word fil or nay other file but I don't find.
Can you help me ?
If you need to force use of this JS library, you will have to create a custom component. The two links I provided you upper in this thread should help you to do so. That's less work that it seems.
Some others "not-so elegant" ways, but much less vaadin-friendly :
* Redirect to some external page.