Util tag to perform a blob rendering, useful if a rest URL cannot be provided (on a JSF form postback for instance).
It only deals with Nuxeo Core 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}" />
Info | Value |
---|---|
Component Type | org.nuxeo.ecm.platform.ui.web.component.file.UIOutputFile |
Handler Class | com.sun.faces.facelets.tag.jsf.html.HtmlComponentHandler |
Renderer Type | None |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
value | false | javax.el.ValueExpression
(must evaluate to org.nuxeo.ecm.core.api.Blob )
| Value binding representing the blob |
filename | false | javax.el.ValueExpression
(must evaluate to 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 | javax.el.ValueExpression
(must evaluate to 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 | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
iconRendered | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Boolean flag indicating whether or not the file icon should be rendered. Defaults to true. |
downloadLabel | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Value binding that will be used as the download link value, and will attempt to be translated. |
Output generated by Vdldoc View Declaration Language Documentation Generator.