1 Reply Latest reply on May 17, 2011 12:02 PM by terrafant

    seam pdf view

    terrafant Newbie

      I use


      <s:resource ... disposition = "inline">



      to open new page in the browser and show there pdf file. But title of this newly opened page is document.seam (application/pdf Object). So if I open some different pdf files they all have the same title. It's confusing. How could I change the page title?

        • 1. Re: seam pdf view
          terrafant Newbie

          I found solution myself. Here it is:
          In components.xml I have added


          <components ...
          xmlns:document="http://jboss.com/products/seam/document >
          ...
          <document:document-store use-extensions="true"/> ...     



          Also I have extended DocumentStore class and overrided baseUrlForContent() method to point to right place (according to my Document Store Servlet configuration in web.xml)