]
Yan Langlois updated JBSEAM-4371:
---------------------------------
Affects Version/s: 2.2.0.GA
[Excel exporter] Excel exporter error on header and xsl-force-type
------------------------------------------------------------------
Key: JBSEAM-4371
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4371
Project: Seam
Issue Type: Bug
Components: Excel
Affects Versions: 2.1.2.GA, 2.2.0.GA
Reporter: Yan Langlois
Priority: Blocker
When a dataTable use a column with header and xsl-force-type the haeder is cast to the
forced type. It should not. For exemple :
<rich:dataTable id="idTable" value="#{myBean}"
var="item">
<rich:column style="xls-force-type:date;">
<f:facet name="header">
<h:outputText styleClass="headerText" value="Day"
/>
</f:facet>
<h:outputText value="#{item.date}" />
</rich:column>
</rich:dataTable>
The exporter try to cast the value "Day" into a java.util.Date. It should only
cast #{item.date} into a java.util.Date.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: