}
super.renderHead(component, response);
}
});
add(new EmoticonsBehavior("#" + MESSAGE_AREA_ID));
add(new WebMarkupContainer("messages").setMarkupId(MESSAGE_AREA_ID));
ChatToolbar toolbar = new ChatToolbar("toolbarContainer");
final WysiwygEditor chatMessage = new WysiwygEditor("chatMessage", Model.of(""), toolbar);
add(new Form<Void>("sendForm").add(
toolbar