Revision 1ca00ef0
Added by Andreas Kohlbecker about 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/phycobank/StartRegistrationView.java | ||
---|---|---|
16 | 16 |
import com.vaadin.spring.annotation.SpringView; |
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.cdm.vaadin.design.phycobank.StartRegistrationDesign; |
19 |
import eu.etaxonomy.cdm.vaadin.presenter.phycobank.RegistrationType; |
|
19 | 20 |
import eu.etaxonomy.vaadin.ui.navigation.NavigationEvent; |
20 | 21 |
|
21 | 22 |
/** |
... | ... | |
34 | 35 |
ApplicationEventPublisher eventBus; |
35 | 36 |
|
36 | 37 |
public StartRegistrationView() { |
37 |
buttonName.addClickListener(e -> new NavigationEvent(RegistrationWorkflowView.NAME));
|
|
38 |
buttonName.addClickListener(e -> eventBus.publishEvent(new NavigationEvent(RegistrationWorkflowView.NAME+ "/" + RegistrationType.name)));
|
|
38 | 39 |
} |
39 | 40 |
|
40 | 41 |
/** |
Also available in: Unified diff
ref #6169 more complete workflow view