[
http://jira.nuxeo.org/browse/NXP-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_25223
]
Anahide Tchertchian commented on NXP-1106:
------------------------------------------
TODO: add a timestamp to the url to work around cache problems
> JSF component + URL filter to download file attachments
> -------------------------------------------------------
>
> Key: NXP-1106
> URL: http://jira.nuxeo.org/browse/NXP-1106
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Improvement
> Components: Web Foundations, Web UI
> Affects Versions: 5.1 M2
> Reporter: Olivier Grisel
> Assignee: Anahide Tchertchian
> Priority: Major
> Fix For: 5.2 M1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> The nuxeo tag library need an an upgrade for the outputFile and outputImage
> components and matching URL filters to be able to generate / handle URLs to
> directly access the content of a blob. Sample expected URLs are:
> http://server.domain:port/nuxeo/nxdoc/demo/a8865360-a076-4a31-890d-6d1bb14f1e1b/download_blob/file/content/3/filename.doc
> or
> http://server.domain:port//nuxeo/download_blob/demo/a8865360-a076-4a31-890d-6d1bb14f1e1b/file/content/3/filename.doc
> where:
> - 'file' is the schema name of the blob to download
> - 'content' is the field name of the blob to download
> - '3' is the index of the blob to download in case 'file.content' is a
> complex field (optional)
> - 'filename.doc' is the filename of the blob if any (optional)
> Why we need a GET URL and not a js postback (like h:commandLink component):
> - we will need to generate HTML tags such as <img
> src="/my/get/url/to/image.png" alt="image title"/> so that browsers can
> download blobs to be used as images (for thumbnails of content and so).
> - have meaningful URL so that google can index attached files (PDF, doc,
> ...) to be ready the day nuxeo 5 wil be used for web content management.
> We also need similar URL filters and JSF tags for the "edit online" and "pdf
> preview" links.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets