Project

General

Profile

Revision 78d24de8

ID78d24de8cc8f8d941349b3ad7244baed656c57f5
Parent b57f34c0
Child 4dc67561

Added by Andreas Kohlbecker almost 4 years ago

installing and setting up better error handler

View differences:

pom.xml
481 481
      <artifactId>vaadin-lazyquerycontainer</artifactId>
482 482
      <version>7.6.1.3</version>
483 483
    </dependency>
484
    <dependency>
485
      <groupId>com.flowingcode.vaadin.addons</groupId>
486
      <artifactId>error-window-vaadin</artifactId>
487
      <version>1.0.0</version>
488
    </dependency>
484 489
    <!-- 
485 490
    <dependency>
486 491
        <groupId>org.vaadin.spring.extensions</groupId>
src/main/java/eu/etaxonomy/cdm/vaadin/AppWidgetSet.gwt.xml
34 34
    <inherits name="org.vaadin.teemu.switchui.SwitchComponentWidgetset" />
35 35

  
36 36
    <inherits name="org.vaadin.addon.leaflet.Widgetset" />
37

  
38
    <inherits name="com.flowingcode.vaadin.addons.WidgetSet" />
37 39
</module>
src/main/java/eu/etaxonomy/cdm/vaadin/ui/RegistrationUI.java
12 12
import org.springframework.beans.factory.annotation.Qualifier;
13 13
import org.springframework.context.ApplicationEventPublisher;
14 14

  
15
import com.flowingcode.vaadin.addons.errorwindow.WindowErrorHandler;
15 16
import com.vaadin.annotations.Theme;
16 17
import com.vaadin.annotations.Title;
17 18
import com.vaadin.annotations.Viewport;
......
113 114
    @Override
114 115
    protected void init(VaadinRequest request) {
115 116

  
117
        setErrorHandler(new WindowErrorHandler(this, "Please contact the editsupport@bgbm.org for more information.</br></br>"
118
                + "<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. "
119
                + "You also might want to add a sreenshot of the browser page in error.</i>"));
120

  
116 121
        navigator.setViewDisplay(viewDisplay);
117 122
        configureAccessDeniedView();
118 123

  
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/TaxonNameEditorPresenter.java
191 191

  
192 192
            }
193 193
        }
194
        throw new RuntimeException("Error handler test");
194 195

  
195
        return taxonName;
196
        // return taxonName;
196 197
    }
197 198

  
198 199
    /**

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)