nxr

Tag Library Information 
InfoValue
ID (tag prefix)nxr
URIhttp://nuxeo.org/nxweb/resources
Tag Summary 
TagDescription
resource

Tag handler managing import of JavaScript/CSS/HTML resources declared on the WebResourceManager service.

Example:
        <nxr:resource name="myresource.js" target="head" />
      
Note: if you would like to reference a resource already present on the war directory, you can use the standard JSF tags to reference it (Nuxeo patches the standard tags behaviour to allow doing so):
        <h:outputScript src="/path/to/myresource.js" target="head" />
        <h:outputStylesheet src="/path/to/myresource.css" target="head" />
      
bundle

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" />
      
insert

Tag inserting a target zone for scripts/stylesheets inclusion.

This tag will include all resources that have been pushed to the given target, similarly to "head" target. This is useful to push all Javascript declarations to the end of the page body, for instance.

Example:
        <nxr:insert target="toe" />
        [...]
        <nxr:resource name="myresource.js" target="toe" />
      
import

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" />
      
importResource

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" />
      
meta

Component rendering a HTML meta tag.

This tag adapts to HTML4 or 5 syntax, depending on the doc type defined on the current page.

Example:
        <nxr:meta charset="UTF-8" />
      
favicon

Tag handler displaying a fav icon.

This tag will generate an "link" element to display favicons.

Example:
        <nxr:favicon value="#{fav}" />
        <nxr:favicon name="icon" src="/icons/favicon.png" />
      

Output generated by Vdldoc View Declaration Language Documentation Generator.