Revision fd9cf932
Added by Andreas Kohlbecker about 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/ui/ConceptRelationshipUIRedirect.java | ||
---|---|---|
9 | 9 |
package eu.etaxonomy.cdm.vaadin.ui; |
10 | 10 |
|
11 | 11 |
|
12 |
import javax.servlet.annotation.WebServlet; |
|
13 |
|
|
14 | 12 |
import org.apache.log4j.Logger; |
15 | 13 |
|
16 | 14 |
import com.vaadin.annotations.Theme; |
17 | 15 |
import com.vaadin.annotations.Widgetset; |
18 | 16 |
import com.vaadin.navigator.Navigator; |
19 | 17 |
import com.vaadin.server.VaadinRequest; |
20 |
import com.vaadin.spring.server.SpringVaadinServlet; |
|
21 | 18 |
import com.vaadin.ui.UI; |
22 | 19 |
|
23 | 20 |
import eu.etaxonomy.cdm.vaadin.view.ConceptRelationshipView; |
... | ... | |
28 | 25 |
* |
29 | 26 |
*/ |
30 | 27 |
@Theme("edit") |
28 |
// @SpringUI(path="/app/concept") // not needed since this UI is used in the context of ConceptRelationshipUI |
|
31 | 29 |
@Widgetset("eu.etaxonomy.cdm.vaadin.AppWidgetSet") |
32 | 30 |
public class ConceptRelationshipUIRedirect extends AbstractAuthenticatedUI { |
33 | 31 |
|
... | ... | |
37 | 35 |
|
38 | 36 |
private final static Logger logger = Logger.getLogger(ConceptRelationshipUIRedirect.class); |
39 | 37 |
|
40 |
@WebServlet(value = {"/app/editcr/*"}, asyncSupported = true) |
|
41 |
public static class Servlet extends SpringVaadinServlet { |
|
42 |
} |
|
38 |
// not needed since this UI is used in the context of ConceptRelationshipUI |
|
39 |
// @WebServlet(value = {"/*"}, asyncSupported = true) |
|
40 |
// public static class Servlet extends SpringVaadinServlet { |
|
41 |
// } |
|
43 | 42 |
|
44 | 43 |
@Override |
45 | 44 |
protected void doInit(VaadinRequest request) { |
Also available in: Unified diff
ref #5285 SpringUI configuration working