[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2000) add excel file type to DocType enum
Dan Allen (JIRA)
jira-events at lists.jboss.org
Fri Sep 28 19:26:41 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2000?page=comments#action_12379402 ]
Dan Allen commented on JBSEAM-2000:
It might be nice to move away from the enum eventually so that the types can be configured in the component deployment descriptor (a simple map would do), but I would still hope that this can be fixed in the short run.
> 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
> Priority: Minor
> Attachments: JBSEAM-2000-v1.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: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues