@UiHandler("btnClear") void onClear(ClickEvent e) { acList.clearErrorOrSuccess(); }
@UiHandler("btnError") void onError(ClickEvent e) { acList.setError("This is an error message for autocomplete."); }
@UiHandler("btnSuccess") void onSuccess(ClickEvent e) { acList.setSuccess("This is a success message for autocomplete"); }
@Inject ErrorsView(Binder uiBinder) { initWidget(uiBinder.createAndBindUi(this)); acList.setSuggestions(getSimpleSuggestions()); }