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 224768 - cc:clientBehavior tag for JSF Composite Components not recognized by the IDE
Summary: cc:clientBehavior tag for JSF Composite Components not recognized by the IDE
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Martin Fousek
: 235673 (view as bug list)
Depends on: 235130
  Show dependency tree
Reported: 2013-01-11 19:29 UTC by arturo_serrano
Modified: 2013-10-29 13:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description arturo_serrano 2013-01-11 19:29:10 UTC
<cc:clientBehavior> tag is used to add ajax support to composite components, for more information:

Currently the tag is not recognized by the IDE, so it adds a red icon the the project root indicating that the project contains files with errors. The project runs without problems but the red icon remains.

Steps to reproduce:

1.- Create new Java Web Application with the New Project Wizard

2.- In the frameworks step, check JavaServer Faces and click finish. The project is created and the page index.xhtml is displayed.

3.- Now select the text "Hello from Facelets", right-click, "Refactor", "Convert to Composite Component..." and in the dialog click finish. The selected text is replaced with the created component <ez:out>

4.- Press Ctrl + click the <ez:out> tag to navigate to the component page out.xhtml

5.- Inside the <cc:interface> tag, type <cc , the suggestion list is displayed and the cc:clientBehavior tag is missing from the list
Comment 1 Martin Fousek 2013-01-14 06:55:40 UTC
Reassigning to the proper component.

Thanks arturo_serrano for entering this issue. I'm afraid that the base for this issue lies in the JSF taglibs descriptors which doesn't mention the <cc:clientBehavior> at all. I already entered issue agains JavaServer Faces and now we must hope that they will fix it soon:
Comment 2 rdelaplante 2013-03-26 19:25:57 UTC
This is a regression in NetBeans 7.3.  I just upgraded from 7.2.x, and this was not a problem there.  Please fix this in the next patch release because my project will forever have red error badges until it is fixed.
Comment 3 rdelaplante 2013-03-26 19:27:38 UTC
I didn't read the previous comment before posting mine.  I see that this is an issue in the jsf taglib.  I wonder why this wasn't a problem in  NB 7.2? New regression in later JSF builds?
Comment 4 Martin Fousek 2013-08-16 08:50:18 UTC

Attached patch into the JSF issue. Now we must wait until it will be integrated by any JSF maintainer
Comment 5 ymajoros 2013-10-16 07:28:19 UTC
Please, can someone integrate this?
Comment 6 Martin Fousek 2013-10-16 11:15:45 UTC
(In reply to ymajoros from comment #5)
> Please, can someone integrate this?

We had to wait until the fix will be available in the JSF library. Now, I'll update the bundled library and if you are using it, it should be fixed. JSF guys told me that fix should be available since version 2.2.3, it means we are ready to update that into the next release.
Comment 7 Martin Fousek 2013-10-17 08:45:45 UTC
*** Bug 235673 has been marked as a duplicate of this bug. ***
Comment 8 Martin Fousek 2013-10-17 10:44:16 UTC
Fixed by JSF library update where was the patch applied.

web-main #d512e0773131
Comment 9 Quality Engineering 2013-10-18 01:48:42 UTC
Integrated into 'main-silver', will be available in build *201310180001* on (upload may still be in progress)

User: Martin Fousek <>
Log: Upgrade of JSF to version 2.2.4 - fixes for #224768, #228286
Comment 10 Vladimir Riha 2013-10-29 13:54:19 UTC

Product Version: NetBeans IDE Dev (Build 201310290001)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)