Tim Holloway wrote:The taglib.xml file is what you need. I'd have to Google for information on it, though, since I don't remember where I found the docs on setting one up.
I found the documents about taglib.xml on
https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib
suresh dasari wrote:for the custom components you need both <name>taglib.xml file and <name>.tld file which you should store in META-INF folder.
for the third party libraries like myfaces or tomhawk you should redeclare them in <name>taglib.xml file which again should be stored in META-INF folder.(tld files will be already present so no need of tlds again in META-INF folder)
Facelets will directly look into the META-INF directory for the definations of unkown tags.
Suresh, it was exactly what I was needing to do:
- use the same name for <name>.tld and <name>taglib.xml when declaring my integration tag files.
- placing only the taglib.xml into META-INF.
To facilitate the using and right generation of my component I'm currently using
Maven Archetypes for JSF Custom Component.
Tim Holloway and Suresh Dasari,
Thanks for help!