Re: AW: PDF Viewer component

2015-02-20 Thread Thilo Tanner
com] Gesendet: Donnerstag, 19. Februar 2015 17:18 An: Tapestry users Betreff: Re: AW: PDF Viewer component On Thu, 19 Feb 2015 12:28:02 -0200, Poggenpohl, Daniel wrote: > Hello, Hi! > well, embedding the component in a page shows not the PDF but the Java > object identity, e.g. &

Re: AW: PDF Viewer component

2015-02-19 Thread Thiago H de Paula Figueiredo
On Thu, 19 Feb 2015 13:50:09 -0200, Poggenpohl, Daniel wrote: Hi, Hi! I think I've reduced the problem... Can I have a page containing a zone that displays the contents of a pdf file? It depends on what you're going to use to render the PDF file. -- Thiago H. de Paula Figueiredo Tapes

Re: AW: PDF Viewer component

2015-02-19 Thread Thiago H de Paula Figueiredo
On Thu, 19 Feb 2015 12:28:02 -0200, Poggenpohl, Daniel wrote: Hello, Hi! well, embedding the component in a page shows not the PDF but the Java object identity, e.g. InlineViewingStreamResponse@8173c6 Maybe the error is somewhere else? My component template is basically only ${showDocu

Re: AW: PDF Viewer component

2015-02-19 Thread Lance Java
Java @Inject private ComponentResources resources; public void getPdfLink() { return resources.createPageLink("path/to/pdfpage", "someContext"); } TML