From jbosstools-commits at lists.jboss.org Thu Feb 26 18:38:18 2009 Content-Type: multipart/mixed; boundary="===============5574448760336592976==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r13850 - trunk/birt/docs/en/modules. Date: Thu, 26 Feb 2009 18:38:18 -0500 Message-ID: --===============5574448760336592976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: smukhina Date: 2009-02-26 18:38:18 -0500 (Thu, 26 Feb 2009) New Revision: 13850 Added: trunk/birt/docs/en/modules/birt_integration.xml Removed: trunk/birt/docs/en/modules/birt_seam_web_project.xml Log: https://jira.jboss.org/jira/browse/JBDS-388 chapter is renamed Added: trunk/birt/docs/en/modules/birt_integration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/birt/docs/en/modules/birt_integration.xml = (rev 0) +++ trunk/birt/docs/en/modules/birt_integration.xml 2009-02-26 23:38:18 UTC= (rev 13850) @@ -0,0 +1,340 @@ + + + = + + + + JBoss + BIRT + Seam + + + = + Adding JBoss BIRT functionality to the standard Seam web proje= ct + = + In this chapter you'll find out how to create a web project incl= uding Seam and BIRT capabilities + = +
+ Prerequisites + = + These are the prerequisites required to create a Seam web pr= oject including with BIRT functionality: + = + + + + Eclipse Version 3.4 SDK + + + + + DTP Version 1.6 Re= lease + + + + + EMF Version 2.4 Release EMF+XSD + + + + + G= EF Version 3.4 Release runtime + + + + + WTP Version 3.0 Release + + + + + BIRT Report Designer SDK 2.3.0 Release or BIRT Rep= ort Designer 2.3.0 Release = + + + + + JBoss Application Server 4.2= .2 GA + + + + + JBoss Seam 2.0.1 GA + + + + + BIRT Web Tools Integration + + + + + JBoss Tools nightly build + + + + + JBoss BIRT integration feat= ure + + + + = +
+ = +
+ Creating a web project + + Follow the next steps to create a web project + + + Create a new Seam Web Project + + + Choose the 2.0 version of the Seam facet + + + Add the "Birt Reporting Runtime Component"= facet + + + +
+ Adding "Birt Reporting Runtime Component" Fac= et + + + + + +
+ + + + Or choose the "JBoss BIRT Integration Web Proje= ct" + configuration + + + +
+ Choosing "JBoss BIRT Integration Web Project " + Configuration + + + + + +
+ + + + Create the birttests.xhtml, testbirt.xhtml and testb= irt1.xhtml pages as + follows: + + + + birttests.xhtml: + + + = + + = + = + = + Welcome to JBoss BIRT! = +
    +
  • = +
  • = +
+
= +
+
+ ]]>
+ = + = + + testbirt.xhtml: + + = + + = + + = + ]]> + = + + testbirt1.xhtml: + + = + = + = + ]]> + = + = + + + Try the tests out by accessing http://localhost:8080= //birttests.seam with your web browser. + + + = +
+ Trying the tests out. First Page + + + + + +
+ = +
+ Trying the tests out. Second Page + + + + + +
+ = +
+ Trying the tests out. Third Page + + + + + +
+ = +
+ Trying the tests out. Forth Page + + + + + +
+ = + The birt tag recognizes most of the parameters described on = the BIRT Report Viewer Parameters page. The attributes= of the birt tag don't contain the "__" prefix. The param tag describes rep= ort parameters. It supports the following attributes: + + + name - the parameter name (required) + + + value - the parameter value (required) + + + isnull - specifies that a report parameter has a nul= l value (optional) + + + islocale - specifies whether the parameter is locali= zed (optional) + + + These tags are defined in the org.jboss.birt.core/resources/= jboss-seam-birt.jar library that contains source. + It is possible to embed a BIRT report in some Seam xhtml pag= e. For instance: + + + + Example: + + <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitiona= l//EN" = + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trans= itional.dtd"> + +<ui:composition xmlns=3D"http://www.w3.org/1999/xhtml" + xmlns:s=3D"http://jboss.com/products/seam/taglib" + xmlns:ui=3D"http://java.sun.com/jsf/facelets" + xmlns:f=3D"http://java.sun.com/jsf/core" + xmlns:h=3D"http://java.sun.com/jsf/html" + xmlns:rich=3D"http://richfaces.org/rich" + xmlns:b=3D"http://jboss.com/products/seam/birt" = + template=3D"layout/template.xhtml"> + = +<ui:define name=3D"body"> + = + <h:messages globalOnly=3D"true" styleClass=3D"message" id=3D"global= Messages"/> + = + <rich:panel> + <f:facet name=3D"header">Products</f:facet> + + <b:birt designType=3D"embed" + designName=3D"ProductCatalog.rptdesign" + embeddable=3D"true" + masterpage=3D"false"> + </b:birt> = + + = + <div style=3D"clear:both"/> + = + </rich:panel> + = + <div class=3D"actionButtons"> = + + <s:button view=3D"/ProductsEdit.xhtml" = + id=3D"edit" = + value=3D"Edit"/> + = + <s:button view=3D"/BirtProductsPdf.xhtml" = + id=3D"BirtProductPdf" = + value=3D"Product Catalog - PDF"/> + = + <s:button view=3D"/BirtProductsFrameset.xhtml" = + id=3D"BirtProductFrameset" = + value=3D"Product Catalog - Frameset"/> + = + <s:button view=3D"/BirtProductsEmbedded.xhtml" = + id=3D"BirtProductEmbedded" = + value=3D"Product Catalog - Embedded"/> + + <s:button view=3D"/TopSellingProducts.xhtml" = + id=3D"TopSellingProducts" = + value=3D"Top Selling Products"/> + = + <s:button view=3D"/#{empty productsFrom ? 'ProductsList' : prod= uctsFrom}.xhtml" + id=3D"done" + value=3D"Done"/> + + </div> + +</ui:define> + +</ui:composition> + = + + = +
+ Embeding BIRT Report in Seam xhtml Page. First Page</tit= le> + <mediaobject> + <imageobject> + <imagedata fileref=3D"images/BirtSeamProject/BirtRepor= tInSeamPage1.png"/> + </imageobject> + </mediaobject> + </figure> + + <figure> + <title>Embeding BIRT Report in Seam xhtml Page. Second Page</t= itle> + <mediaobject> + <imageobject> + <imagedata fileref=3D"images/BirtSeamProject/BirtRepor= tInSeamPage2.png"/> + </imageobject> + </mediaobject> + </figure> = + + +</section> + = + = +</chapter> Deleted: trunk/birt/docs/en/modules/birt_seam_web_project.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/birt/docs/en/modules/birt_seam_web_project.xml 2009-02-26 22:44:1= 4 UTC (rev 13849) +++ trunk/birt/docs/en/modules/birt_seam_web_project.xml 2009-02-26 23:38:1= 8 UTC (rev 13850) @@ -1,340 +0,0 @@ -<?xml version=3D'1.0' encoding=3D'UTF-8'?> -<chapter id=3D"Birt_Seam_Web_Project" xreflabel=3D"Birt_Seam_Web_Project"> - = - <?dbhtml filename=3D"birtSeamWebProject.html"?> - <chapterinfo> - <keywordset> - <keyword>JBoss</keyword> - <keyword>BIRT</keyword> - <keyword>Seam</keyword> - </keywordset> - </chapterinfo> - = - <title> Adding JBoss BIRT functionality to the standard Seam web proje= ct - = - In this chapter you'll find out how to create a web project incl= uding Seam and BIRT capabilities - = -
- Prerequisites - = - These are the prerequisites required to create a Seam web pr= oject including with BIRT functionality: - = - - - - Eclipse Version 3.4 SDK - - - - - DTP Version 1.6 Re= lease - - - - - EMF Version 2.4 Release EMF+XSD - - - - - G= EF Version 3.4 Release runtime - - - - - WTP Version 3.0 Release - - - - - BIRT Report Designer SDK 2.3.0 Release or BIRT Rep= ort Designer 2.3.0 Release = - - - - - JBoss Application Server 4.2= .2 GA - - - - - JBoss Seam 2.0.1 GA - - - - - BIRT Web Tools Integration - - - - - JBoss Tools nightly build - - - - - JBoss BIRT integration feat= ure - - - - = -
- = -
- Creating a web project - - Follow the next steps to create a web project - - - Create a new Seam Web Project - - - Choose the 2.0 version of the Seam facet - - - Add the "Birt Reporting Runtime Component"= facet - - - -
- Adding "Birt Reporting Runtime Component" Fac= et - - - - - -
- - - - Or choose the "JBoss BIRT Integration Web Proje= ct" - configuration - - - -
- Choosing "JBoss BIRT Integration Web Project " - Configuration - - - - - -
- - - - Create the birttests.xhtml, testbirt.xhtml and testb= irt1.xhtml pages as - follows: - - - - birttests.xhtml: - - - = - - = - = - = - Welcome to JBoss BIRT! = -
    -
  • = -
  • = -
-
= -
-
- ]]>
- = - = - - testbirt.xhtml: - - = - - = - - = - ]]> - = - - testbirt1.xhtml: - - = - = - = - ]]> - = - = - - - Try the tests out by accessing http://localhost:8080= //birttests.seam with your web browser. - - - = -
- Trying the tests out. First Page - - - - - -
- = -
- Trying the tests out. Second Page - - - - - -
- = -
- Trying the tests out. Third Page - - - - - -
- = -
- Trying the tests out. Forth Page - - - - - -
- = - The birt tag recognizes most of the parameters described on = the BIRT Report Viewer Parameters page. The attributes= of the birt tag don't contain the "__" prefix. The param tag describes rep= ort parameters. It supports the following attributes: - - - name - the parameter name (required) - - - value - the parameter value (required) - - - isnull - specifies that a report parameter has a nul= l value (optional) - - - islocale - specifies whether the parameter is locali= zed (optional) - - - These tags are defined in the org.jboss.birt.core/resources/= jboss-seam-birt.jar library that contains source. - It is possible to embed a BIRT report in some Seam xhtml pag= e. For instance: - - - - Example: - - <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitiona= l//EN" = - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trans= itional.dtd"> - -<ui:composition xmlns=3D"http://www.w3.org/1999/xhtml" - xmlns:s=3D"http://jboss.com/products/seam/taglib" - xmlns:ui=3D"http://java.sun.com/jsf/facelets" - xmlns:f=3D"http://java.sun.com/jsf/core" - xmlns:h=3D"http://java.sun.com/jsf/html" - xmlns:rich=3D"http://richfaces.org/rich" - xmlns:b=3D"http://jboss.com/products/seam/birt" = - template=3D"layout/template.xhtml"> - = -<ui:define name=3D"body"> - = - <h:messages globalOnly=3D"true" styleClass=3D"message" id=3D"global= Messages"/> - = - <rich:panel> - <f:facet name=3D"header">Products</f:facet> - - <b:birt designType=3D"embed" - designName=3D"ProductCatalog.rptdesign" - embeddable=3D"true" - masterpage=3D"false"> - </b:birt> = - - = - <div style=3D"clear:both"/> - = - </rich:panel> - = - <div class=3D"actionButtons"> = - - <s:button view=3D"/ProductsEdit.xhtml" = - id=3D"edit" = - value=3D"Edit"/> - = - <s:button view=3D"/BirtProductsPdf.xhtml" = - id=3D"BirtProductPdf" = - value=3D"Product Catalog - PDF"/> - = - <s:button view=3D"/BirtProductsFrameset.xhtml" = - id=3D"BirtProductFrameset" = - value=3D"Product Catalog - Frameset"/> - = - <s:button view=3D"/BirtProductsEmbedded.xhtml" = - id=3D"BirtProductEmbedded" = - value=3D"Product Catalog - Embedded"/> - - <s:button view=3D"/TopSellingProducts.xhtml" = - id=3D"TopSellingProducts" = - value=3D"Top Selling Products"/> - = - <s:button view=3D"/#{empty productsFrom ? 'ProductsList' : prod= uctsFrom}.xhtml" - id=3D"done" - value=3D"Done"/> - - </div> - -</ui:define> - -</ui:composition> - = - - = -
- Embeding BIRT Report in Seam xhtml Page. First Page</tit= le> - <mediaobject> - <imageobject> - <imagedata fileref=3D"images/BirtSeamProject/BirtRepor= tInSeamPage1.png"/> - </imageobject> - </mediaobject> - </figure> - - <figure> - <title>Embeding BIRT Report in Seam xhtml Page. Second Page</t= itle> - <mediaobject> - <imageobject> - <imagedata fileref=3D"images/BirtSeamProject/BirtRepor= tInSeamPage2.png"/> - </imageobject> - </mediaobject> - </figure> = - - -</section> - = - = -</chapter> --===============5574448760336592976==--