0 Replies Latest reply on Apr 5, 2008 7:48 AM by Felix Satyaputra

    Seam PDF Questions: IE6, Content-Disposition, & JBoss Tools

    Felix Satyaputra Newbie

      Hi All,


      I've got Seam PDF questions. I am using Seam PDF bundled with Seam 2.0.1 GA with the bundled Sun JSF RI and Facelets.


      Getting Seam PDF to work with IE6



      Has anyone had problems getting Seam PDF from Seam 2.0.1 GA working in IE 6?


      Out of the box, it works perfectly in Firefox but in IE 6 the PDF does not get opened and it shows IE error page. I think this may be due to the fact that IE also decides the file type by looking at the extension on the browser's URL.


      If I have set useExtensions to true as per 16.1.8, I've got this exception instead:


      java.lang.IllegalStateException: No active event context
              org.jboss.seam.core.Manager.instance(Manager.java:250)
              org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:55)
              org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
      



      What could I be missing?


      Getting Seam PDF to send http header to Content-disposition: attachment



      By default Seam PDF sends the PDF with http header Content-disposition: inline. If I want to change the http header to Content-disposition: attachment - is there any configuration related to this?


      No autocomplete for Seam PDF pages in JBoss Tools 2.0.0 GA



      Just a minor issue, but I'd like to get the autocomplete of the PDF pages to work with JBoss Tools 2.0.0 GA.


      I've added the namespace


      xmlns:p="http://jboss.com/products/seam/pdf" 
      



      on the facelets XHTML, but the autocomplete still does not seem to work.


      Do I need to do something extra to get the autocomplete to work?


      Thanks !


      Felix