can you have a form onLoad method run some code and trigger the download ?
-----Original Message-----
From: Koloszko Pawel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 29, 2005 12:09 PM
To: MyFaces Discussion
Subject: How to open page and download file in one turn?

I have page B opened from page A. I insert some data on page B and submit the form. Then action is performed which generates Word document. After that it returns to page A. The problem is: how to open page A and then download automatically generated document? I know how to open page A, I know how to download generated document, but I do not know how to open page A AND download document after pressing submit button on page B. I tried many things and none of them works. Do you have any ideas?
 
Pawel
 
 

Reply via email to