Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
;go\back\to\the\folder\containing\the\viewer". Regards, Daniel P. -Ursprüngliche Nachricht- Von: Thilo Tanner [mailto:thilo.tan...@reprisk.com] Gesendet: Donnerstag, 19. Februar 2015 15:19 An: Tapestry users Betreff: Re: PDF Viewer component Hi Daniel, What exactly is the issue with y

Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
I haven't found a more elegant way than src="go\back\to\the\folder\containing\the\viewer". Regards, Daniel P. -Ursprüngliche Nachricht- Von: Thilo Tanner [mailto:thilo.tan...@reprisk.com] Gesendet: Donnerstag, 19. Februar 2015 15:19 An: Tapestry users Betreff: Re: PDF Vi

Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
Hi Daniel, What exactly is the issue with your code? We use something similar (and content type "application/pdf"); see below. I'm sure you will take care of it when the code works, but your implementation is extremely dangerous :-) Best, Thilo public abstract class AbstractStreamResponse imp

Re: PDF Viewer component

2015-02-19 Thread Thilo Tanner
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 Sent: Thursday, F

Re: PDF Viewer component

2015-02-19 Thread Lance Java
Use an iframe to load the StreamResponse page embedded in an html page. On 19 Feb 2015 13:35, "Poggenpohl, Daniel" < daniel.poggenp...@isst.fraunhofer.de> wrote: > 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 c