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 178517

Summary: After converting a facelets snippet into a composite component, library is not found
Product: javaee Reporter: dheffelfinger <dheffelfinger>
Component: JSF EditorAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: normal CC: dheffelfinger, sustaining
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot

Description dheffelfinger 2009-12-11 15:57:38 UTC
Created attachment 92450 [details]
Screenshot

Attempting to duplicate bug 178514 under Linux, was unsuccessful.

However, ran into a different bug.

After highlighting part of a Facelets page and selecting "Convert to Composite Component", the composite component was created successfully, and the following XML namespace was added to the page:

xmlns:ez="http://java.sun.com/jsf/composite/ezcomp

NetBeans underlines the above line with a squiggly red line.

Hovering over it reveals the following error:

"No library found for this namespace".
Comment 1 Marek Fukala 2009-12-14 04:58:00 UTC
reproducible, the jsf libraries cached is not refreshed after a new library is found during indexing. The workaround is to either restart netbeans or to modify and save the web.xml in the project.
Comment 2 Marek Fukala 2009-12-17 07:17:56 UTC
fixed in web-main#e102675d8397
Comment 3 Quality Engineering 2009-12-17 23:50:16 UTC
Integrated into 'main-golden', will be available in build *200912180200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e102675d8397
User: Marek Fukala <mfukala@netbeans.org>
Log: #178517 -  After converting a facelets snippet into a composite component, library is not found
Comment 4 Jindrich Sedek 2010-01-11 05:59:40 UTC
seems to be ok in trunk
Comment 5 pgebauer 2010-01-14 04:43:59 UTC
The fix has been ported into the release68_fixes repository.
http://hg.netbeans.org/release68_fixes/rev/bc68c4c1d296
Comment 6 Michal Mocnak 2010-01-27 15:13:46 UTC
Verified in 68fixes branch