Re: How to open a pdf file on click of an action link

Lance Java <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAN7Z0vSCEf89Fc7sOhsSX854uAVFcHyQyuV1jxCsRa8uOnV-MQ@mail.gmail.com>
You'll need to set:
response.setHeader("Content-Disposition", "attachment; filename=" +
fileName);

See StreamResponse usage in PDFLink.onPdf() here
http://t5stitch-lazan.rhcloud.com/pdflinkdemo

On 7 Mar 2017 08:47, "Gopi, Sreela" <[email protected]> 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
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.