Author: ochikvina
Date: 2009-04-15 05:22:23 -0400 (Wed, 15 Apr 2009)
New Revision: 14752
Modified:
trunk/birt/docs/en/modules/birt_integration_with_seam.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-687
Modified: trunk/birt/docs/en/modules/birt_integration_with_seam.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_integration_with_seam.xml 2009-04-15 09:21:47 UTC (rev
14751)
+++ trunk/birt/docs/en/modules/birt_integration_with_seam.xml 2009-04-15 09:22:23 UTC (rev
14752)
@@ -288,7 +288,7 @@
<property>org.jboss.birt.core/resources/jboss-seam-birt.jar</property>
</emphasis> library that contains source. </para>
- <!--para>It is also possible to embed a BIRT report in some Seam
<emphasis>
+ <para>It is also possible to embed a BIRT report in some Seam
<emphasis>
<property>.xhtml</property>
</emphasis> page. See how it may be done:</para>
<para/>
@@ -298,7 +298,7 @@
</para>
<programlisting role="XHTML"><![CDATA[<!DOCTYPE composition
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
@@ -316,45 +316,23 @@
</rich:panel>
<div class="actionButtons">
<s:button view="/ProductsEdit.xhtml"
id="edit" value="Edit"/>
- <s:button view="/BirtProductsPdf.xhtml"
- id="BirtProductPdf"
value="Product Catalog - PDF"/>
- <s:button view="/BirtProductsFrameset.xhtml"
- id="BirtProductFrameset"
value="Product Catalog - Frameset"/>
- <s:button view="/BirtProductsEmbedded.xhtml"
- id="BirtProductEmbedded"
value="Product Catalog - Embedded"/>
- <s:button view="/TopSellingProducts.xhtml"
- id="TopSellingProducts"
value="Top Selling Products"/>
+
<s:button view="/#{empty productsFrom ?
'ProductsList' : productsFrom}.xhtml"
id="done"
value="Done"/>
</div>
</ui:define>
- </ui:composition>]]></programlisting>
+</ui:composition>]]></programlisting>
+ <para>See the result in a Browser:</para>
+
<figure>
- <title>Embedding BIRT Report in Seam xhtml Page. First
Page</title>
+ <title>Embedding BIRT Report in Seam xhtml Page</title>
<mediaobject>
<imageobject>
- <imagedata
fileref="images/BirtIntegration/BirtReportInSeamPage1.png"/>
+ <imagedata
fileref="images/birt_integration_with_seam/embeddedReportInSeamPage.png"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Embedding BIRT Report in Seam xhtml Page. Second
Page</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/BirtIntegration/BirtReportInSeamPage2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <figure>
- <title>Embedding BIRT Report in Seam xhtml Page. Third
Page</title>
- <mediaobject>
- <imageobject>
- <imagedata
fileref="images/BirtIntegration/BirtReportInSeamPage3.png"/>
- </imageobject>
- </mediaobject>
- </figure-->
</section>
</chapter>