2324252627282930313233
@Override public void onClick(AjaxRequestTarget target) { messageModel.setObject("heres how I look as standard"); toasterStandard.publishMessage(target); } }); final Toaster toasterMiddle = new Toaster("middleToaster",messageModel,true);
4142434445464748495051
@Override public void onClick(AjaxRequestTarget target) { messageModel.setObject("heres how I look when in middle"); toasterMiddle.publishMessage(target); } });
6566676869707172737475
@Override public void onClick(AjaxRequestTarget target) { messageModel.setObject("heres how I look with custom effects"); toasterEffects.publishMessage(target); } });