[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2000) add excel file type to DocType enum

Dan Allen (JIRA) jira-events at lists.jboss.org
Fri Sep 28 19:24:40 EDT 2007


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


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 mailing list