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.
I've got a JSF Composite Component that uses Facets. The Facet it inserted into JavaScript code generated by the Composite Component. In NetBeans 7.2 this was not a problem and no error badget was displayed. In NetBeans 7.3 an Error Badge is shown. The component component code looks like this: <composite:implementation > <script type="text/javascript"> $(document).ready(function() { $("##{cc.clientId}:dialog".replace(/:/g, "\\:")).dialog({ stack: true, modal:#{cc.attrs.modal}, show: "#{cc.attrs.showEffect}", hide: "#{cc.attrs.hideEffect}", autoOpen:#{cc.attrs.display}, width:#{cc.attrs.width}, height:#{cc.attrs.height}, buttons: { <composite:renderFacet name="buttons" /> } }); }); if (#{cc.attrs.openBy != null}) { $("##{cc.attrs.openBy}".replace(/:/g, "\\:")).click(function() { $("##{cc.clientId}:dialog".replace(/:/g, "\\:")).dialog("open"); return false; }); } </script> </composite:implementation> It is where <composite:renderFacet name="buttons" /> is inserted that the error appears. Product Version = NetBeans IDE 7.3 (Build 201302132200) Operating System = Mac OS X version 10.8.2 running on x86_64 Java; VM; Vendor = 1.7.0_15 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Created attachment 132506 [details] IDE log
Seems like a duplicate of issue 226207, the reason is the same, using <composite:renderFacet name="buttons" /> inside <script>, removing it helps. Thanks for reporting *** This bug has been marked as a duplicate of bug 226207 ***