The error framework in NetBeans IDE has been expanded in NetBeans IDE 5.0. As a result, you are able to click on the icon and then the IDE will do something. In other words, it will suggest to fix the problem. Of course, how it fixes the problem depends on the Wicket component in question (as well as, probably, other factors too). So Petr asked me to find out what should happen next, i.e., what should the IDE do to fix the error?
My suggestion is that the IDE should, in the above scenario, add this to the corresponding HTML file, immediately below the opening BODY tag:
<!-- <span wicket:id="messge1">this text will be replaced</span> -->
However, what do other people out there think about this? Maybe something else should be inserted on the HTML side instead. Feedback welcome.
(By the way, Petr and I made it onto TheServerSide.com. However, sorry to be picky, but both our names are spelled wrong and I am not a NetBeans evangelist...)