super.onComponentTag(tag);
tag.put("href", "#");
}
});
reload.add(new WebsocketEventBehavior("click"){
@Override
protected void onMessage(WebsocketRequestTarget target,
String message, boolean last) {
firstLabel.setDefaultModelObject(new Date().toString());
target.add(firstLabel);
}
});
WebMarkupContainer progressBar = new WebMarkupContainer("progressbar");
progressBar.setOutputMarkupId(true);
progressBar.add(new WebsocketEventBehavior("click"){
@Override
protected void onMessage(WebsocketRequestTarget target,
String message, boolean last) {
for (int i = 0; i <= 100; i++) {
target.executeJavaScript("$('#" + getComponent().getMarkupId() +