Tag handler managing HTML import.
This tag will generate an "import" link, similarly to the h:outputLink tag behavior that generates a "a" HTML tag, for instance.
Example:<nxr:import name="webc/font-roboto/roboto.html" target="head" /> <nxr:import src="/components/nuxeo-elements/nx-connection.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.Import |
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 | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of the resource as registered on the WebResourceManager 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". |
includeTimestamp | false | javax.el.ValueExpression
(must evaluate to java.lang.Boolean )
| Boolean indicating whether the generated URL will include a timestamp to workaround caching issues when the resource changes server side. Available since 9.1, defaults to true. |
Output generated by Vdldoc View Declaration Language Documentation Generator.