You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Damian Nelson <da...@mindspring.com> on 2004/05/25 01:03:54 UTC

opening new window

Hi.  What is the best approach to displaying a pdf document in a new
browser window. The new window has no function
within my app. It is just displaying a document to preview before it's 
submission.
Just to be clear, I don't need help with generating the pdf, just in 
displaying it
in a Tapestry context.The html equivalent would be similar to using:

 <A href="http://localhost:8080/preview.pdf" target="_blank">
Preview document</A>. 

Thank you for any hints.
Damian

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: opening new window

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
You answered it yourself... target="_blank", just add that as a 
parameter to your PDF generation link.

	Erik


On May 24, 2004, at 7:03 PM, Damian Nelson wrote:

> Hi.  What is the best approach to displaying a pdf document in a new
> browser window. The new window has no function
> within my app. It is just displaying a document to preview before it's 
> submission.
> Just to be clear, I don't need help with generating the pdf, just in 
> displaying it
> in a Tapestry context.The html equivalent would be similar to using:
>
> <A href="http://localhost:8080/preview.pdf" target="_blank">
> Preview document</A>.
> Thank you for any hints.
> Damian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org