Issue (View Online)

Key: NXP-1106
Issue Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Anahide Tchertchian
Reporter: Olivier Grisel

Operations

View all
View comments
View history
JSF component + URL filter to download file attachments 
Updated: 29/05/07 17:04   Created: 29/05/07 17:04  

Project: Nuxeo Enterprise Platform 5
Components: Web Foundations, Web UI
Affects Versions: 5.1 M2
Fix Versions: 5.1 RC

 Description   
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="" 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 was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to