> Jim.
> >
> > From: Richard Hill [mailto:r...@su3analytics.com]
> > Sent: 08 April 2011 12:26
> > To: Tapestry users
> > Subject: Re: Popup PDF
> >
> >
> > The simplest way I'm guessing is to have your link that
> > generates/returns th
to have a submit button that POSTs the form data, and
> then redisplay the same page with the submit button hidden and a new
> actionLink ‘View PDF’ now present but it seems a bit clunky.
>
> Regards,
> Jim.
>
> From: Richard Hill [mailto:r...@su3analytics.com]
> Sent
3analytics.com]
> Sent: 08 April 2011 12:26
> To: Tapestry users
> Subject: Re: Popup PDF
>
>
> The simplest way I'm guessing is to have your link that
> generates/returns the pdf to be a target="_blank" as you say.
>
> Then in javascript change the window url from t
bit clunky.
Regards,
Jim.
From: Richard Hill [mailto:r...@su3analytics.com]
Sent: 08 April 2011 12:26
To: Tapestry users
Subject: Re: Popup PDF
The simplest way I'm guessing is to have your link that
generates/returns the pdf to be a target="_blank" as you say.
Then in javascr
The simplest way I'm guessing is to have your link that
generates/returns the pdf to be a target="_blank" as you say.
Then in javascript change the window url from the detail url to the
summary url.
If adding your own js to an actionlink is tricky you could not use an
action (or page) link, but
I have a requirement to generate a PDF based on some submitted form data in
a 'detail' page, and then pop up the PDF in a new tab/window while at the
same time returning from the 'detail' page to a 'summary' page. I don't
want to pollute the summary page with any code related to opening the PDF in