nxu
Tag outputFile


Util tag to perform a file rendering.

It only deals with NXCoreAPI blobs.

Display is an immediate link to the blob, with filename as link value if provided, together with the blob mimetype icon.


Example:
<nxu:outputFile value="#{document.file.content" filename="#{document.file.filename}" />


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
valuefalsefalseorg.nuxeo.ecm.core.api.BlobValue binding representing the blob
filenamefalsefalsejava.lang.StringValue binding representing the blob filename. If set, will be presented as the download link value unless the downloadLabel attribute is provided.
idfalsefalsejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
renderedfalsefalsejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
iconRenderedfalsefalsejava.lang.StringBoolean flag indicating whether or not the file icon should be rendered. Defaults to true.
downloadLabelfalsefalsejava.lang.StringValue binding that will be used as the download link value, and will attempt to be translated.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.