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

Dan Allen (JIRA) jira-events at lists.jboss.org
Sat Sep 29 00:29:40 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-2000?page=all ]

Dan Allen updated JBSEAM-2000:
------------------------------

    Attachment: JBSEAM-2000-v2.txt

Oops, first patch had an error. Try the second one.

> 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, 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: 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