Nuxeo Server

How to Register a JSF Tag Library

Updated: December 5, 2017 Page Information Edit on GitHub

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.


 

5 days ago Manon Lumeau add tags for doc days
a month ago manonlumeau Added content-review-lts2017 label
2 months ago manonlumeau NXDOC-1346-FT review screenshot
3 years ago Solen Guitter 25
3 years ago Anahide Tchertchian 24 | Rephrase, do not present this as a workaround
3 years ago Manon Lumeau 23
3 years ago Manon Lumeau 22
3 years ago Manon Lumeau 21 | typo
6 years ago Anahide Tchertchian 19
6 years ago Anahide Tchertchian 20 | Migrated to Confluence 4.0
7 years ago Stéfane Fermigier 18
7 years ago Stéfane Fermigier 17
7 years ago Stéfane Fermigier 16
7 years ago Stéfane Fermigier 15
7 years ago Stéfane Fermigier 14
7 years ago Stéfane Fermigier 13
7 years ago Stéfane Fermigier 12
7 years ago Stéfane Fermigier 11
7 years ago Stéfane Fermigier 10
7 years ago Stéfane Fermigier 9
7 years ago Stéfane Fermigier 8
7 years ago Stéfane Fermigier 7
7 years ago Stéfane Fermigier 6
7 years ago Stéfane Fermigier 5
7 years ago Stéfane Fermigier 4
7 years ago Stéfane Fermigier 3
7 years ago Stéfane Fermigier 2
7 years ago Stéfane Fermigier 1
History: Created by Stéfane Fermigier