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.
In a facelets component definition xhtml, usages of #{cc.attrs.something} should be marked as errors if something is not an attribute of the interface. Since code completion of attributes is already provided, this should be done as well. Product Version = NetBeans IDE Dev (Build 20130703-4ccc4c622a55) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_07 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
Thanks for the report. I'm afraid that marking that always as error could be sometimes incorrect since the interface tag can be optional meta-information (at least since JSF 2.2) of the composite component. On the other hand the hint could be ignored in such cases.
Ok, it looks that it's validating properly now. You can give it chance in development builds after 2-3 days. All invalid attributes are marked with hint as unknown property now. Fixed in web-main #53b38976d014.
Created attachment 138784 [details] screenshot of the new behavior I'm attaching screenshot of the new behavior.
Integrated into 'main-silver', will be available in build *201308162300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/53b38976d014 User: Martin Fousek <marfous@netbeans.org> Log: #232274 - [74cat] Non-existing attributes are not considered as errors