You need to sign in to do that
Don't have an account?

prevent redirect to PDF VF page
When I set a VF page to render as PDF (renderAs="pdf"), a redirect happens and I lose all controller state. This is preventing me generating a PDF as part of a wizard that collects data in a previous page.
If I remove the renderAs param from the page, the state is maintained and no redirect occurs. Even if I set the setRedirect attribute to false when forwarding to the PDF page, it redirects.
Is there a way to go to PDF VF page without the automatic redirect? The wizard is such that I can't just pass simple parameters from the previous page.