Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
187 lines (176 sloc) 5.25 KB
title review details labels confluence tree_item_index history
HOWTO: Register a JSF Tag Library
comment date status
2019-10-21
ok
howto
excerpt level tool topics
Learn how to use the JSF tag library registration.
Advanced
Code
JSF
content-review-lts2016
howto
jsf-ui
seam-jsf-component
atchertchian
content-review-lts2017
ajs-parent-page-id ajs-parent-page-title ajs-space-key ajs-space-name canonical canonical_source page_id shortlink shortlink_source source_link
9830458
JSF and Ajax Tips and How-To Index
NXDOC
Nuxeo Platform Developer Documentation
How+to+Register+a+JSF+Tag+Library
3343544
uAQz
/display/NXDOC/How+to+Register+a+JSF+Tag+Library
600
author date message version
Solen Guitter
2014-12-01 21:39
25
author date message version
Anahide Tchertchian
2014-12-01 17:18
Rephrase, do not present this as a workaround
24
author date message version
Manon Lumeau
2014-09-18 11:07
23
author date message version
Manon Lumeau
2014-09-17 17:27
22
author date message version
Manon Lumeau
2014-09-17 17:25
typo
21
author date message version
Anahide Tchertchian
2012-02-06 17:55
Migrated to Confluence 4.0
20
author date message version
Anahide Tchertchian
2012-02-06 17:55
19
author date message version
Stéfane Fermigier
2010-07-22 17:34
18
author date message version
Stéfane Fermigier
2010-07-22 14:43
17
author date message version
Stéfane Fermigier
2010-07-22 10:27
16
author date message version
Stéfane Fermigier
2010-07-22 10:24
15
author date message version
Stéfane Fermigier
2010-07-22 10:14
14
author date message version
Stéfane Fermigier
2010-07-22 09:14
13
author date message version
Stéfane Fermigier
2010-07-22 09:10
12
author date message version
Stéfane Fermigier
2010-07-22 08:55
11
author date message version
Stéfane Fermigier
2010-07-22 08:51
10
author date message version
Stéfane Fermigier
2010-07-21 20:11
9
author date message version
Stéfane Fermigier
2010-07-21 20:05
8
author date message version
Stéfane Fermigier
2010-07-21 19:21
7
author date message version
Stéfane Fermigier
2010-07-21 19:01
6
author date message version
Stéfane Fermigier
2010-07-21 18:39
5
author date message version
Stéfane Fermigier
2010-07-21 18:23
4
author date message version
Stéfane Fermigier
2010-07-21 18:18
3
author date message version
Stéfane Fermigier
2010-07-21 18:12
2
author date message version
Stéfane Fermigier
2010-07-21 18:00
1

{{{multiexcerpt 'JSF-UI-required' page='generic-multi-excerpts'}}}

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.


 

{{#> panel heading='Related How-Tos'}}
  • [JSF and Javascript ]({{page page='jsf-and-javascript'}})
  • [Ajax4jsf Best Practices]({{page page='ajax4jsf-best-practices'}})
  • [Ajax Forms and Actions]({{page page='ajax-forms-and-actions'}})
  • [How to Add a JSF Form Validation]({{page page='how-to-add-a-jsf-form-validation'}})
  • [How-To Index]({{page page='how-to-index'}})

{{/panel}}

{{#> panel heading='Related Documentation'}}

  • [JavaScript Client]({{page page='javascript-client'}})
  • [JSF UI Framework]({{page page='jsf-ui-framework'}})
  • [Nuxeo JSF UI]({{page page='nuxeo-jsf-ui'}}) {{/panel}}
You can’t perform that action at this time.