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
_______________________________________________
seam-issues mailing list
seam-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to