Following situation:
My Wicket application works in combination with javascript.
There is a Page which has a Label for example. This label has "ON" as text set:
Label state = new Label("serverState", server.getStatus().getState());
server.getStatus().getState() will return "ON" at this moment.
Also i have some javascript on this page, which will update this "serverState" Label every 10 seconds. It might have been changed to "OFF" (by javascript).
My Question is: is there any way to get notified of this "text of the Label has been changed". I need that because i want to display (setVisible(true)) another Component, but only if the text has changed.