Hi,

There are many examples available. Here is one such nicely written component !

https://github.com/uklance/tapestry-stitch/blob/master/tapestry-stitch/src/main/java/org/lazan/t5/stitch/components/PDFLink.java

In short, return StreamResponse from an event handler. Don’t forget to set 
content-type and content-disposition.

Regards
Taha

> On 7 Mar 2017, at 14:16, Gopi, Sreela <sreela.g...@atos.net> wrote:
> 
> Hello,
> 
>   Can anyone please tell me how to open a pdf file on click of an action link 
> in Tapestry?
> 
> 
> Thank you,
> Sreela Gopi
> 
> 


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

Reply via email to