-
FEATURED COMPONENTS
First time here? Check out the FAQ!
How to provide input for ZK PDF Viewer.
Hello, i am storing PDF Files in the server and path is stored in the database. I've already provided download option for the same. Now i am trying to provide new PDF Viewer option.
Note : Example path for stored pdf /home/ubuntu/data/Allergy/EDI837PISASegment.pdf
just use Pdfviewer.setContent with an AMedia (I assume you already use AMedia for download, so there's almost no difference)
Pdfviewer.setContent(
new AMedia("EDI837PISASegment.pdf", "pdf", "application/pdf",
new File("/home/ubuntu/data/Allergy/EDI837PISASegment.pdf"), true));
Asked: 2020-04-15 22:54:47 +0800
Seen: 12 times
Last updated: Apr 16 '20
ZK 9 MVVM Clients.showbusy not showing
Problem after updating to ZK 9.5.0
Column Layout Background Color
Migrate to ZK 9 From ZK 8 gives error
Component definition not found: drawer in [LanguageDefinition: xul/html] [closed]
ZK 9 Drawer Component - Help to set parent
ZK 9 Listhead property children not found exception
Thank you.
Senthilchettyin ( 2020-04-16 16:07:10 +0800 )edit