[seam-issues] [JBoss JIRA] (JBSEAM-5131) Seam ExcelExporter
Bobby Lawrence (JIRA)
jira-events at lists.jboss.org
Thu Nov 21 10:24:05 EST 2013
Bobby Lawrence created JBSEAM-5131:
--------------------------------------
Summary: Seam ExcelExporter
Key: JBSEAM-5131
URL: https://issues.jboss.org/browse/JBSEAM-5131
Project: Seam 2
Issue Type: Bug
Components: Excel
Affects Versions: 2.3.0.Final
Reporter: Bobby Lawrence
Priority: Minor
The org.jboss.seam.excel.exporter.ExcelExporter component is great, but it doesn't apply converters to objects is puts into Excel spreadsheet cells.
The "processOutputs" method simply sets the value of the UIOutput in the cell via:
cell.setValue(output.getValue());
It would be much more helpful if it called any converter on the output before something like:
Object outputValue = output.getValue();
Converter converter = output.getConverter();
if (converter != null){
outputValue = converter.getAsString(
FacesContext.getCurrentInstance(), output, outputValue);
}
cell.setValue(outputValue);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list