Component rendering a HTML import tag given a resource name or path.
Example:<nxr:importResource src="/path/to/myResource.html" target="head" /> or <nxr:importResource name="myResource.html" target="head" />
Info | Value |
---|---|
Component Type | javax.faces.Output |
Handler Class | com.sun.faces.facelets.tag.jsf.html.ScriptResourceHandler |
Renderer Type | org.nuxeo.ecm.web.resources.jsf.ImportResource |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
src | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Path to the resource to import, will lookup a local resource if it does not start with a slash. |
name | true | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of the resource as registered on the service. |
target | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The target area for which this resource will be rendered. For example, target="head" would cause the resource to be rendered within the head element. If no value is specified, the script element is rendered at the same point in the view where the tag is located. Currently supported values for this attribute are "head", "body", and "form". |
Output generated by Vdldoc View Declaration Language Documentation Generator.