rich:column(s): "footer" facet doesn't display in excel exported data.
----------------------------------------------------------------------
Key: RF-6325
URL:
https://jira.jboss.org/jira/browse/RF-6325
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.0.6, Safari 3.1, Opera 9.62, Chrome
1.0.154.43(3.3.0.GA, seam 2.0.2.GA)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Minor
#1. Put jboss-seam-excel.jar and jxl.jar in your project lib folder.
#2. Configure web.xml following way:
<servlet>
<servlet-name>Document Store Servlet Excel</servlet-name>
<servlet-class>org.jboss.seam.excel.DocumentStoreServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Document Store Servlet Excel</servlet-name>
<url-pattern>*.xls</url-pattern>
</servlet-mapping>
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>seam-excel</param-value>
</context-param>
#3. Configure components.xml. Add following string:
In taglib:
xmlns:excel="http://jboss.com/products/seam/excel"
<excel:document-store use-extensions="true"/>
#4. Add following code on the page:
<rich:dataTable value="#{excel.dataModel}" id="theDataTable"
var="dat">
<rich:columns value="#{excel.columnsModel}" var="col">
<f:facet name="header">
<h:outputText value="Test Header" />
</f:facet>
<h:outputText value="#{dat.int0}_" />
<h:outputText value="#{col.str0}" />
<f:facet name="footer">
<h:outputText value="Test Footer" />
</f:facet>
</rich:columns>
</rich:dataTable>
<h:commandLink value="Export"
action="#{org.jboss.seam.excel.excelExporter.export('theForm:theDataTable')}"
/>
#5. Navigate to the page and make export to excel by click on "Export" link.
#6. Verify facets presence in excel data.
Actual behavior:
"header" facet is present, but "footer" is not.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira