Hi Daniel,

If you want to render a PDF on client side (instead of just sending a stream), 
you could use pdf.js:

http://mozilla.github.io/pdf.js/

We use it for rather large PDFs and it works well.

Best,
Thilo


________________________________________
From: Poggenpohl, Daniel <daniel.poggenp...@isst.fraunhofer.de>
Sent: Thursday, February 19, 2015 14:33
To: users@tapestry.apache.org
Subject: PDF Viewer component

Hello,

I am trying to build a component which can be embedded in a page and has a path 
parameter. If the parameter is set, the component should show/render the file 
contents (a pdf). The StreamResponse class allows me to create a page 
containing a pdf that can be viewed. Is it possible to embed a viewer component 
in a page or does it depend on browser functionality so that I can't embed it?

Regards,
Daniel P.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to