This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 194245

Summary: primefaces library descriptors cause the JSF support to create invalid libraries metadata
Product: javaee Reporter: Marek Fukala <mfukala>
Component: JSFAssignee: issues@javaee <issues>
Status: RESOLVED FIXED    
Severity: normal CC: jkovalsky, pjiricka, ramon
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Marek Fukala 2011-01-12 09:26:03 UTC
the primefaces-2.1.jar/META-INF/ contains both facelets and tld descriptors, however the facelets descriptors doesn't contain any information about the tag's attributes. Such info is stored in the tld descriptors.

The JSF support doesn't expect such configuration. 

The effect is: code completion doesn't offer tag attributes, and the conformance checker complains about all the used valid attributes.

For the sake of fast verification just create new web project with JSF + Primefaces. The main page is flagged as errorneous..

Originally reported by Ramon Casha from NetCAT.
Comment 1 rcasha 2011-01-12 11:53:55 UTC
Workaround: PrimeFaces 2.2RC2 seems to work better.
Comment 2 Marek Fukala 2011-01-12 11:57:39 UTC
Yes, the facelets descriptors are "fixed" in 2.2RC
Comment 3 Marek Fukala 2011-01-13 20:44:08 UTC
the tags metadata are merged from .taglib.xml and .tld descriptors (with the .taglib.xml preference) if found for the same namespace.

web-main#bffe17fe406d
Comment 4 Quality Engineering 2011-01-16 06:14:19 UTC
Integrated into 'main-golden', will be available in build *201101160000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bffe17fe406d
User: Marek Fukala <mfukala@netbeans.org>
Log: #194245 - primefaces library descriptors cause the JSF support to create invalid libraries metadata