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.
Build 200704170100 Steps (just enough to reproduce): 1. create Web > Visual Web project 2. Add palette > basic > image to designer 3. create javascript file called testMethod.js and add at least one of the following methods source: function showYes() { var domNode = document.getElementById("form1:image1"); domNode.setProps({ src:"/simple/resources/choice-yes.gif" }); } function showNo() { var domNode = document.getElementById("form1:image1"); domNode.setProps({ src:"/simple/resources/choice-no.gif" }); } function showOriginal() { var domNode = document.getElementById("form1:image1"); domNode.setProps({ src:"/simple/resources/choice-cancel.gif" }); } 4. look at the navigator window and you see: showYes() -domNode -? --src showNo() -domNode -? --src showOriginal() -domNode -? --src Either the ? should have a value or the src shouldn't be there (or neither should be there)
I am not sure if its bug. Class definition in your case has no name, so we are not able to display some reasonable name for it. We can easily ignore such definitions. But on the other hand I have already seen sources that contained unnamed elements only. For example many Google sources looks like: function () { function foo () { ... } .... } () So, I do not want ignore such elements. But may be we can find some better name for them.
*** Issue 101653 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 103857 ***