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
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.
---
2 matches
Mail list logo