Tag handler managing import of resource bundles declared on the WebResourceManager service.
This tag will generate multiple HTML tags depending on resource types inside the bundle (js, css, hmtl) and will respect dependencies between resources, but will place CSS aggregated resources first, then JavaScript aggregated resources, then HTML imports (not aggregated).
It also handles inclusion of XHTML templates, using resource types xhtml and xhtmlfirst: resources with type xhtmlfirst will be included before any other type of resources; resources with type xhtml will be included after.
Example:<nxr:resourceBundle name="myresourceBundle" target="head" />
Name | Required | Type | Description |
---|---|---|---|
name | true | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of the resource bundle 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.