<s:excelExport> should capture <t:columns>
-------------------------------------------
Key: TOMAHAWK-840
URL: http://issues.apache.org/jira/browse/TOMAHAWK-840
Project: MyFaces Tomahawk
Issue Type: Improvement
Components: Columns
Affects Versions: 1.1.5-SNAPSHOT
Environment: Linux + Tomcat 5.5.x + Java1.5
Reporter: Steffen Neumann
Only the static content of Tables is exported using the <s:excelExport> tag.
Columns created dynamically with <t:columns>
are silently skipped.
To reproduce:
Use the myfaces-example-simple-1.1.5-SNAPSHOT.war,
drop tomahawk-sandbox-1.1.5-SNAPSHOT.jar and
poi-2.5.1-final-20040804.jar into its WEB-INF/lib
and finally add <%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
and <s:excelExport for="data">
<h:commandButton action="" value="Export"/>
</s:excelExport> to the crossDataTable.jsp
Only the <h:outputText value="#{country.name}" />
makes it into the generated .xls
Yours,
Steffen
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira