@UiHandler("btnErrorRange") void onErrorRange(ClickEvent e) { range.setError("This is an error message for range."); }