Project

General

Profile

« Previous | Next » 

Revision fd9cf932

Added by Andreas Kohlbecker about 7 years ago

ref #5285 SpringUI configuration working

  • @SpringUI added and configured
  • theme harmonization as has as possible without causing glitches
  • updating to vaadin 7.7.7

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/ui/StatusEditorUI.java
8 8
*/
9 9
package eu.etaxonomy.cdm.vaadin.ui;
10 10

  
11
/**
12
 * @author cmathew
13
 * @date 11 Mar 2015
14
 *
15
 */
16

  
17 11

  
18 12
import java.util.logging.Logger;
19 13

  
......
23 17
import com.vaadin.annotations.Widgetset;
24 18
import com.vaadin.navigator.Navigator;
25 19
import com.vaadin.server.VaadinRequest;
20
import com.vaadin.spring.annotation.SpringUI;
26 21
import com.vaadin.spring.server.SpringVaadinServlet;
27 22
import com.vaadin.ui.UI;
28 23

  
29 24
import eu.etaxonomy.cdm.vaadin.component.StatusComposite;
30 25

  
31

  
26
/**
27
 * @author cmathew
28
 * @date 11 Mar 2015
29
 *
30
 */
32 31
@Theme("edit")
32
@SpringUI(path="/app/editstatus")
33 33
@Widgetset("eu.etaxonomy.cdm.vaadin.AppWidgetSet")
34 34
public class StatusEditorUI extends AbstractAuthenticatedUI {
35 35

  
......
40 40
    private final static Logger logger =
41 41
            Logger.getLogger(StatusEditorUI.class.getName());
42 42
    /*
43
     * NOTE: I it necessary to map the URLs starting with /VAADIN/* since none of the
43
     * NOTE: It is necessary to map the URLs starting with /VAADIN/* since none of the
44 44
     * @WebServlets is mapped to the root path. It is sufficient to configure one of the
45 45
     * servlets with this path see BookOfVaadin 5.9.5. Servlet Mapping with URL Patterns
46 46
     */
47
    @WebServlet(value = {"/app/editstatus/*", "/VAADIN/*"}, asyncSupported = true)
47
    @WebServlet(value = {"/*", "/VAADIN/*"}, asyncSupported = true)
48 48
    public static class Servlet extends SpringVaadinServlet {
49 49
    }
50 50

  

Also available in: Unified diff