Taglib Extension

From DOC

(Redirected from Taglib Function)
Jump to: navigation, search


The taglib function creates a taglib for use in facelets xhtml pages. A taglib is uniquely identified by a namespace. Two taglibs provided by Tolven are trim and wizard. Custom tags should be added to a custom taglib, not one of the Tolven taglibs. There must be only one occurrence of a taglib declaration per namespace.

<tolvenWEB>
  <!-- Create a taglib - this should just be done once -->
  <taglib>
    <namespace>http://www.myco.com/jsf/custom</namespace>
    <tag-filename>custom.taglib.xml</tag-filename>
  </taglib>
</tolvenWEB>

The taglib function is part of the tolvenWEB component.

If both a taglib declaration and a tag contributing to that taglib are in the same tolven-plugin manifest, the order is not important.

Personal tools