]
Norman Richards reassigned JBSEAM-2000:
---------------------------------------
Assignee: Norman Richards
add excel file type to DocType enum
-----------------------------------
Key: JBSEAM-2000
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2000
Project: JBoss Seam
Issue Type: Feature Request
Components: PDF
Affects Versions: 2.0.0.CR1
Reporter: Dan Allen
Assigned To: Norman Richards
Priority: Minor
Attachments: JBSEAM-2000-v1.txt, JBSEAM-2000-v2.txt
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
The document store facility (org.jboss.seam.pdf.DocumentStore) is an excellent reuse
library for those who want to push down files in their Seam-based application (outside of
just using the PDF tags). However, the module has one major limitation. The file types are
stored in an enum and thus cannot ever be changed (enums cannot be extended or
overridden). Unfortunately this renders the library completely useless if you are not
using one of the 3 built-in types (PDF, RTF, HTML).
Since Excel downloads are so popular in business applications, it makes sense that even
though Seam doesn't export excel, the file type could be added to allow those using
Seam-based applications to take advantage of this excellent document storage design.
I have included a patch, but the line is simply:
EXCEL("xls", "application/vnd.ms-excel")
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: