1 Reply Latest reply on Mar 13, 2008 11:56 PM by Graeme Collis

    Is it possible to display a PDF with a4j:mediaOutput?

    Florian Scholz Newbie

      Hello!

      Is it possible to display a PDF with a4j:mediaOutput?

      If it's possible, how to do this?
      I tried the following, but it doesn't work:

      <a4j:mediaOutput cacheable="false"
       createContent="#{reportController.generatePdf}" element="object"
       mimeType="application/pdf" rendered="#{contentController.viewMode}"
       session="true" value="#{reportBean}" />
      


      Thanks in advance.

      Florian