Nuxeo Server

How to Register a JSF Tag Library

This page is scheduled for review and update. Check back soon for updated content!

When registering a new tag library for your application, you would usually declare the facelets taglib file in the web.xml configuration file.

As this parameter can only be declared once, and is already declared in the nuxeo base ui module, you cannot declare it using the Nuxeo deployment feature.

So you should declare your custom taglib by placing a file mylibary.taglib.xml in the META-INF folder of your custom jar: it will be registered automatically.

As a reminder, the tag library documentation file, mylibrary.tld, is usually placed in the same folder than the taglib file, but it is only used for documentation: it plays no role in the tags registration in the application.


 

We'd love to hear your thoughts!

All fields required