Revision 150c2624
Added by Andreas Kohlbecker about 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorksetViewBean.java | ||
---|---|---|
424 | 424 |
validationProblemsButton.setCaption("<span class=\"" + RegistrationStyles.BUTTON_BADGE +"\"> " + dto.getValidationProblems().size() + "</span>"); |
425 | 425 |
validationProblemsButton.setCaptionAsHtml(true); |
426 | 426 |
|
427 |
Button messageButton = regItemButtons.getMessagesButton(); |
|
428 |
messageButton.addClickListener(e -> getViewEventBus().publish(this, |
|
429 |
new ShowDetailsEvent<RegistrationDTO, UUID>( |
|
430 |
e, |
|
431 |
RegistrationDTO.class, |
|
432 |
dto.getUuid(), |
|
433 |
RegistrationItem.MESSAGES |
|
434 |
) |
|
435 |
) |
|
436 |
); |
|
437 |
messageButton.setStyleName(ValoTheme.BUTTON_TINY); |
|
438 |
|
|
439 | 427 |
Component statusComponent; |
440 | 428 |
if(statusFieldInstantiator != null){ |
441 | 429 |
statusComponent = statusFieldInstantiator.create(dto); |
Also available in: Unified diff
fix #8069 removing all message hub related code from the Registration UI: