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 Class | None |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
value | false | false | org.nuxeo.ecm.core.api.Blob | Value binding representing the blob |
filename | false | false | java.lang.String | Value binding representing the blob filename. If set, will be presented as the download link value unless the downloadLabel attribute is provided. |
id | false | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
rendered | false | false | java.lang.String | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
iconRendered | false | false | java.lang.String | Boolean flag indicating whether or not the file icon should be rendered. Defaults to true. |
downloadLabel | false | false | java.lang.String | Value 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.