[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5642) Taglibs defined in JAR files as facelets *.taglib.xml are not recognized in Web Projects View in Tag Libraries folder.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Jan 11 06:53:31 EST 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-5642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich updated JBIDE-5642:
-----------------------------------------

    Attachment: 1.jpg


Screenshot 1 shows that *.taglib.xml files from jar's are recognized and put under Tag Libraries node in Web Project view. The example taglib is set by library class which we do not parse, so in this way such library is not of much help for autocompletion. Do you mean that limitation? If your case is different, please attach your jar file. 

> 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
>         Attachments: 1.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

        


More information about the jbosstools-issues mailing list