1 Reply Latest reply on Jul 27, 2009 5:01 PM by yahawari

    embeding a BIRT viewer, but only in a section of the page

    terron
      Hello,

      I've got a Birt report embedded into a seam/facelets page using:


      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:s="http://jboss.com/products/seam/taglib"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:rich="http://richfaces.org/rich"
            xmlns:b="http://jboss.com/products/seam/birt">

         <div class="x"/>
         <h1>My Rep</h1>
         <div class="x"/>
         <b:birt designType="frameset" designName="/reps/VZ3.rptdesign" title="Dave Back Pocket" width="200px"/>
         <div class="y"/>
      </html>

      That is being included into a template as the "main content".

      Now, this is building as only the BIRT viewer!

      All the other sections in the template are not displaying (left menu section, header, footer).

      Is that because I am using [designType="frameset"] ? Which other possibilities are there? I cannot find a API description of all the tags and parameters for xmlns:s="http://jboss.com/products/seam/taglib".

      Any help/idea welcome.
      Thanks
      Tero
        • 1. Re: embeding a BIRT viewer, but only in a section of the page
          yahawari

          embedded report in the xhtml page



          <p:birt
                designType="embed" masterpage="false" embeddable="true" 
                   designName="test.rptdesign" > 
                   <p:param name="p1" value="1"/>
          </p:birt>
          



          for frameset (which u r gettting now)


          <p:birt xmlns:ui="http://java.sun.com/jsf/facelets"
                    xmlns:s="http://jboss.com/products/seam/taglib"
                    xmlns:p="http://jboss.com/products/seam/birt"
                    designType="frameset"
                    designName="test.rptdesign"
                    title="JBoss Birt Test">
                      <p:param name="p1" value="1"/>
          </p:birt>
          



          for other formats such as pdf, csv ..etc


          <p:birt  
                    designType="run"
                    format="pdf"
                    designName="test.rptdesign"
                    title="JBoss Birt Test">
                      <p:param name="p1" value="1"/>
          </p:birt>