2 Replies Latest reply on Jan 16, 2008 10:53 AM by carlhowarth

    Download generated file and still rerender

      Hello there,

      I can't find an answer to this anywhere so far so hope that someone can help!

      I have code that automatically generates a PDF to a ByteArrayOutputStream. I can download the file without a problem using the t:commandlink, but as is documented elsewhere cannot be done with an a4j:commandlink.

      I need to perform a download AND rerender the content on my page all in one click... am I asking the impossible? Does anyone have a workaround or suggestions for this please?

      Many thanks in advance!

      Carl