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 - primefaces library descriptors cause the JSF support to create invalid libraries metadata
Summary: primefaces library descriptors cause the JSF support to create invalid librar...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.0
Hardware: PC All
: P2 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 09:26 UTC by Marek Fukala
Modified: 2011-01-16 06:14 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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