@Override public void focus() { name.focus(); } }
@EventHandler("searchInput") void onSearchOver(MouseOverEvent event) { searchInput.focus(); }
@EventHandler("searchInput") void onSearchOver(MouseOverEvent event) { searchInput.focus(); }
@EventHandler("itemNameInput") public void onItemNameInputOver(MouseOverEvent event) { itemNameInput.focus(); }
@EventHandler("itemNameInput") public void onItemNameInputOver(MouseOverEvent event) { itemNameInput.focus(); }
@EventHandler("itemNameInput") public void onItemNameInputOver(MouseOverEvent event) { itemNameInput.focus(); }
@EventHandler("itemNameInput") public void onItemNameInputOver(MouseOverEvent event) { itemNameInput.focus(); }
@Override public void startItemEdition() { itemViewDiv.setHidden(true); itemEditDiv.setHidden(false); itemNameInput.focus(); }
@Override public void startItemEdition() { itemViewDiv.setHidden(true); itemEditDiv.setHidden(false); itemNameInput.focus(); }
@Override public void startItemEdition() { itemViewDiv.setHidden(true); itemEditDiv.setHidden(false); itemNameInput.focus(); }
@Override public void startItemEdition() { itemViewDiv.setHidden(true); itemEditDiv.setHidden(false); itemNameInput.focus(); }
private boolean validateForm() { clearErrorMessages(); final boolean newCommentEmpty = isNullOrEmpty(newCommentTextArea.getValue()); if (newCommentEmpty) { newCommentTextArea.focus(); newCommentTextAreaHelp.setTextContent(translationService.format(CASE_COMMENT_CANT_BE_EMPTY)); newCommentTextAreaGroup.setValidationState(ValidationState.ERROR); return false; } return true; }
private boolean validateForm() { clearErrorMessages(); final boolean newCommentEmpty = isNullOrEmpty(newCommentTextArea.getValue()); if (newCommentEmpty) { newCommentTextArea.focus(); newCommentTextAreaHelp.setTextContent(translationService.format(CASE_COMMENT_CANT_BE_EMPTY)); newCommentTextAreaGroup.setValidationState(ValidationState.ERROR); return false; } return true; }
@Override public void show() { nameInput.setValue(""); nameErrorLabel.setTextContent(""); formDiv.setClassName("form-group"); fluidOption.setSelected(true); pageOption.setSelected(false); nameLabel.setTextContent(i18n.newPerspectivePopUpViewName()); nameHelp.setTitle(i18n.newPerspectivePopUpViewNameHelp()); styleLabel.setTextContent(i18n.newPerspectivePopUpViewStyle()); styleHelp.setTitle(i18n.newPerspectivePopUpViewStyleHelp()); okButton.setTextContent(i18n.newPerspectivePopUpViewOk()); cancelButton.setTextContent(i18n.newPerspectivePopUpViewCancel()); fluidOption.setTextContent(i18n.newPerspectivePopUpViewFluid()); pageOption.setTextContent(i18n.newPerspectivePopUpViewPage()); modal.setTitle(i18n.newPerspectivePopUpViewTitle()); modal.show(); nameInput.focus(); }
@Override public void show() { nameInput.setValue(""); nameErrorLabel.setTextContent(""); formDiv.setClassName("form-group"); fluidOption.setSelected(true); pageOption.setSelected(false); nameLabel.setTextContent(i18n.newPerspectivePopUpViewName()); nameHelp.setTitle(i18n.newPerspectivePopUpViewNameHelp()); styleLabel.setTextContent(i18n.newPerspectivePopUpViewStyle()); styleHelp.setTitle(i18n.newPerspectivePopUpViewStyleHelp()); okButton.setTextContent(i18n.newPerspectivePopUpViewOk()); cancelButton.setTextContent(i18n.newPerspectivePopUpViewCancel()); fluidOption.setTextContent(i18n.newPerspectivePopUpViewFluid()); pageOption.setTextContent(i18n.newPerspectivePopUpViewPage()); modal.setTitle(i18n.newPerspectivePopUpViewTitle()); modal.show(); nameInput.focus(); }