Where is your tld placed? Browse TLD dialog looks only in jars and tlds in class path (including web-inf).
Just drag your TLD file and drop it to the Palette if you have it outside class path.
the TLD file is packaged into a jar, in the /META-INF/ folder, and the jar is in the classpath.
I also tried to put the TLD file directly into /lib path of my project and add it to the build path, but the import dialog is not able to discover it.
BTW I am using eclipse 3.4.1 and Jboss tools 3.0.0 Beta 1
I had the same issue in eclipse 3.3 and tools 2.1.0GA
Can you report it to the jira? And attache sample project to help us to reproduce it.
I got my problem worked around.
Basically it is not finding any of the TLD files because my projects are not considered having JSF capabilities. (they are existing projects setup using SEAM, facelets and richfaces).
Following akazakov's suggestion creating a sample project I used JBoss Tools to generate a JSF project. And it worked this time. The good thing is that after I loaded the TLD file I deleted the testing project and it still works.
So I am good with it now.
Thanks a lot akazakov.
Alexey, is there any reason why we require the TLD files to be in a JSF project ?
Our Import TLD Dialog shows the tree of jboss tools web projects (with jsf or struts nature). So if the project doesn't have jsf (or struts) nature then we don't gather TLDs from such projects. But it is possible to look for all tlds from all WTP projects. It's a feature request.
If our backend just need a TLD location then no reason to limit to specific project types IMO