package com.example.view; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import com.example.ThankYouService; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent; import com.vaadin.spring.annotation.SpringView; import com.vaadin.ui.Button; import com.vaadin.ui.Notification; import com.vaadin.ui.VerticalLayout; @SpringView(name = DefaultView.VIEW_NAME) public class DefaultView extends VerticalLayout implements View { public static final String VIEW_NAME = ""; @Autowired private ThankYouService service; @PostConstruct void init() { setId("default-view"); Button button = new Button("Click Me!", event -> Notification.show(service.getText())); addComponent(button); } @Override public void enter(ViewChangeEvent event) { } } le Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/test/integration/wiki_test.rb
blob: 92850c216b64571d2eea4a2d8b4880ed72f7da1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74