@PostConstruct private void init() { this.setSize(ModalSize.MEDIUM); this.setTitle(translationService.getTranslation(AppformerSSHConstants.SSHKeysDisplayerViewImplAdd)); this.setBody(ElementWrapperWidget.getWidget(content)); this.add(new ModalFooterYesNoCancelButtons(this, null, null, null, null, this::cancel, translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplCancel), ButtonType.DEFAULT, null, this::add, translationService.getTranslation(AppformerSSHConstants.SSHKeysDisplayerViewImplAdd), ButtonType.PRIMARY, null) { { setCloseModalAfterAction(false); } }); name.setAttribute("placeHolder", translationService.getTranslation(AppformerSSHConstants.NewSSHKeyModalViewImplNamePlaceHolder)); key.setAttribute("placeHolder", translationService.getTranslation(AppformerSSHConstants.NewSSHKeyModalViewImplKeyPlaceHolder)); }
@PostConstruct private void init() { this.setSize(ModalSize.MEDIUM); this.setTitle(translationService.getTranslation(AppformerSSHConstants.SSHKeysDisplayerViewImplAdd)); this.setBody(ElementWrapperWidget.getWidget(content)); this.add(new ModalFooterYesNoCancelButtons(this, null, null, null, null, this::cancel, translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplCancel), ButtonType.DEFAULT, null, this::add, translationService.getTranslation(AppformerSSHConstants.SSHKeysDisplayerViewImplAdd), ButtonType.PRIMARY, null) { { setCloseModalAfterAction(false); } }); name.setAttribute("placeHolder", translationService.getTranslation(AppformerSSHConstants.NewSSHKeyModalViewImplNamePlaceHolder)); key.setAttribute("placeHolder", translationService.getTranslation(AppformerSSHConstants.NewSSHKeyModalViewImplKeyPlaceHolder)); }