[seam-commits] Seam SVN: r8822 - trunk/doc/Seam_Reference_Guide/en-US.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Aug 26 19:04:38 EDT 2008
Author: danielc.roth
Date: 2008-08-26 19:04:38 -0400 (Tue, 26 Aug 2008)
New Revision: 8822
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Excel.xml
Log:
JBSEAM-3338
Modified: trunk/doc/Seam_Reference_Guide/en-US/Excel.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Excel.xml 2008-08-26 19:41:59 UTC (rev 8821)
+++ trunk/doc/Seam_Reference_Guide/en-US/Excel.xml 2008-08-26 23:04:38 UTC (rev 8822)
@@ -1,10 +1,10 @@
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
-<!ENTITY excel 'the Microsoft® Excel® spreadsheet application'>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY excel 'the Microsoft® Excel® spreadsheet application'>
<!ENTITY Excel 'the Microsoft® Excel® spreadsheet application'>
-]>
-
-<chapter id="excel">
+]>
+
+<chapter id="excel">
<title>&Excel;</title>
<para>
Seam also supports generation of &excel; spreadsheets through the
@@ -41,24 +41,28 @@
<para>
Customizing the module to support other kinds of &excel; spreadsheet
API's has been made very easy. Implement the <literal>ExcelWorkbook
- </literal> interface, and register in components.xml.
- <programlisting role="XML">
- <![CDATA[
- <excel:excelFactory>
- <property name="implementations">
- <key>myExcelExporter</key>
- <value>my.excel.exporter.ExcelExport</value>
- </property>
- </excel:excelFactory>
- ]]>
- </programlisting>
+ </literal> interface, and register in components.xml.
+ </para>
+ <programlisting role="XML">
+ <![CDATA[
+ <excel:excelFactory>
+ <property name="implementations">
+ <key>myExcelExporter</key>
+ <value>my.excel.exporter.ExcelExport</value>
+ </property>
+ </excel:excelFactory>
+ ]]>
+ </programlisting>
+ <para>
and register the excel namespace in the components tag with
+ </para>
<programlisting role="XML">
- <![CDATA[
- xmlns:excel="http://jboss.com/products/seam/excel"
- ]]>
- </programlisting>
- Then set the UIWorkbook type to <literal>myExcelExporter</literal> and your
+ <![CDATA[
+ xmlns:excel="http://jboss.com/products/seam/excel"
+ ]]>
+ </programlisting>
+ <para>
+ Then set the UIWorkbook type to <literal>myExcelExporter</literal> and your
own exporter will be used. Default is "jxl", but support for CSV has also been
added, using the type "csv".
</para>
@@ -2914,7 +2918,7 @@
</para>
<programlisting role="XML">
<![CDATA[
- <h:commandLink
+ <h:commandLink
value="Export"
action="#{excelExporter.export('theForm:theDataTable')}"
/>
More information about the seam-commits
mailing list