Revision 16c32ddd
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/ui/RegistrationUI.java | ||
---|---|---|
81 | 81 |
*/ |
82 | 82 |
// @Autowired |
83 | 83 |
// MenuBeanDiscoveryBean bean; |
84 |
|
|
84 |
|
|
85 | 85 |
@Autowired |
86 | 86 |
private MainMenu mainMenu; |
87 | 87 |
|
... | ... | |
90 | 90 |
*/ |
91 | 91 |
// @Autowired |
92 | 92 |
// MenuBeanDiscoveryBean bean; |
93 |
|
|
93 |
|
|
94 | 94 |
@Autowired |
95 | 95 |
@Qualifier("registrationToolbar") |
96 | 96 |
private Toolbar toolbar; |
97 | 97 |
|
98 | 98 |
//--------------------------------------------- |
99 |
|
|
99 |
|
|
100 | 100 |
public static final String INITIAL_VIEW = DashBoardView.NAME; |
101 | 101 |
|
102 | 102 |
protected void configureAccessDeniedView() { |
... | ... | |
118 | 118 |
|
119 | 119 |
//--------------------------------------------- |
120 | 120 |
|
121 |
|
|
121 |
|
|
122 | 122 |
|
123 | 123 |
|
124 | 124 |
/* |
... | ... | |
134 | 134 |
@Override |
135 | 135 |
protected void init(VaadinRequest request) { |
136 | 136 |
|
137 |
setErrorHandler(new WindowErrorHandler(this, "Please contact the editsupport@bgbm.org for more information.</br></br>"
|
|
137 |
setErrorHandler(new WindowErrorHandler(this, RegistrationUIDefaults.ERROR_CONTACT_MESSAGE_LINE + "</br></br>"
|
|
138 | 138 |
+ "<i>To help analyzing the problem please describe your actions that lead to this error and provide the error details from below in your email. " |
139 | 139 |
+ "You also might want to add a sreenshot of the browser page in error.</i>")); |
140 | 140 |
|
Also available in: Unified diff
externalizing default support contact string for error messages