[
https://jira.jboss.org/jira/browse/JBIDE-5642?page=com.atlassian.jira.plu...
]
Vlado Pakan reopened JBIDE-5642:
--------------------------------
Tested on:
It doesn't work for *.taglib.xml files. Works only for .tld files with .xsd schema
definition specified within .xml file.
I have downloaded primafaces-2.0.0.jar from
http://www.primefaces.org/downloads.html and
added this it to new JSF project classpath.
Only *.tld files form this .jar file appeared in JSF Project Tag Libraries within Web
Project view i. e. primafaces-i.tld and primafaces-p.tld.
primefaces-i.taglib.xml and primefaces-p.taglib.xml are missing in JSF Project Tag
Libraries.
Taglibs defined in JAR files as facelets *.taglib.xml are not
recognized in Web Projects View in Tag Libraries folder.
----------------------------------------------------------------------------------------------------------------------
Key: JBIDE-5642
URL:
https://jira.jboss.org/jira/browse/JBIDE-5642
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.1.0.CR1
Environment: Eclipse 3.5 and higher, JBossTools 3.1.0.CR1, OS Windows XP and
higher
Reporter: Oleg Varaksin
Assignee: Anton Klimkovich
Fix For: 3.1.0.CR2
Attachments: 1.jpg, custom-taglib-xml-notrecognized.jpg,
jsf-jar-in-classpath.jpg, jsf-jar-project.jpg
If we have some JAR files in classpath of web project which contain *.taglib.xml files
(under META-INF) they will be not recognized by JBoss Tools. I have imported such JAR as
described in the related issue
https://jira.jboss.org/jira/browse/JBIDE-4213. TLDs have
been well recognized (displayed under Tag Libraries folder), but *.taglib.xml files not.
There are no chances to add them to the JBoss Tools Palette.
Note 1: *.taglib.xml files from external JARs don't have to be added in web.xml. That
means, javax.faces.FACELETS_LIBRARIES is not needed in web.xml. JSF scans automatically
META-INF folder of all JARs in classpath.
Note 2: *.taglib.xml files should be also recognized in JAR project itself if we
implement JSF 2 custom components in this JAR project (which reside under
META-INF/resources/...) and want to add xmlns namespaces from *.taglib.xml's in some
*.xhtml files. At the moment it's not possible and there isn't code
autocompletion.
This issue is very important for JSF 2.x.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira