]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-5305 Made output report form respect the mime type requested in the invocation...
authorPatrick Schmitz <pschmitz@berkeley.edu>
Wed, 16 Jan 2013 23:27:56 +0000 (15:27 -0800)
committerPatrick Schmitz <pschmitz@berkeley.edu>
Wed, 16 Jan 2013 23:27:56 +0000 (15:27 -0800)
commit77033df623f46effedc353dd0e223e9eb88b81fe
tree18e1dd1a833ae7cf1812afe80488baaced870251
parent83458aa869eb23919ae9de6e6db85c7dc2c57f4f
CSPACE-5305 Made output report form respect the mime type requested in the invocationContext. Added support for PDF, HTML, XML, CSV, and TSV. Added support to pass the correct mime type back, although TSV is mapped to the more common CSV on return. Also added support to set response headers to a reasonable filename for the returned report (it matches the report filename, plus the typical file extension for the mime type).
services/report/client/src/main/java/org/collectionspace/services/client/ReportClient.java
services/report/service/src/main/java/org/collectionspace/services/report/nuxeo/ReportDocumentModelHandler.java