Re: AW: [Trinidad] Generate PDF _and_ close dialog

2008-12-12 Thread Stephen Friedrich
Thanks for the answers! I got it working by setting the parameters for pdf generation to a hidden input field that is refreshed using PPR when the dialog closes. A ppr state listener then checks for the content of that field and simply sets window.location to the url for the pdf servlet. This avoi

AW: [Trinidad] Generate PDF _and_ close dialog

2008-12-09 Thread Döring Markus
You can not do this in one request because you can have either HTML (or XHTTP) content OR PDF content in one response. One solution to workaround this is to fire the action, close the dialog and add an JS that submits a (hidden) button to download the PDF _after_ the dialog has been closed. ---