1 Reply Latest reply on Jul 4, 2007 1:13 AM by ivanflorentin

    Seam-PDF + Facelets

    ivanflorentin

      Is there a way to use templates and/or <ui:include> in seam-PDF?

      I would like to separate headers and footers in other files and dynamically other facelets wile generating a PDF to the client.

      Is it possible?

        • 1. Re: Seam-PDF + Facelets
          ivanflorentin

          sorry...
          dynamically include other facelests while generating a pdf...

          ...
          
           <f:facet name="header">
           <ui:include src="header.xhtml"/>
           </f:facet>
          
          ...
           <p:paragraph>some other specific info</p:paragraoh>
           <ui:include src="#{pdfFragment.viewID}">
           <ui:param name="myParam" value="#{param}" />
           </ui:include>
          
          


          It works beautifully in jsf/fscelets but not in seam-pdf