// @WebInitParam(name="org.atmosphere.cpr.asyncSupport", value="org.atmosphere.container.Jetty9AsyncSupportWithWebSocket")
// })
+ /*
+ * NOTE: productionMode=true seems not to have any effect here, maybe because we are using multiple Servlets?
+ * The is therefore set globally in the web.xml
+ */
@WebServlet(value = {"/app/*"}, asyncSupported = true)
@VaadinServletConfiguration(productionMode = true, ui = CheckUI.class, widgetset = "eu.etaxonomy.cdm.vaadin.AppWidgetSet")
public static class Servlet extends VaadinServlet {
private final static Logger logger = Logger.getLogger(ConceptRelationshipUI.class);
+ /*
+ * NOTE: productionMode=true seems not to have any effect here, maybe because we are using multiple Servlets?
+ * The is therefore set globally in the web.xml
+ */
@WebServlet(value = {"/app/concept/*"}, asyncSupported = true)
@VaadinServletConfiguration(productionMode = true, ui = ConceptRelationshipUI.class, widgetset = "eu.etaxonomy.cdm.vaadin.AppWidgetSet")
public static class Servlet extends VaadinServlet {
private static final String FIRST_VIEW = "firstView";
+ /*
+ * NOTE: productionMode=true seems not to have any effect here, maybe because we are using multiple Servlets?
+ * The is therefore set globally in the web.xml
+ */
@WebServlet(value = {"/app/distribution/*"}, asyncSupported = true)
@VaadinServletConfiguration(productionMode = true, ui = DbStatusUI.class, widgetset = "eu.etaxonomy.cdm.vaadin.AppWidgetSet")
public static class Servlet extends CdmVaadinConversationalServlet {
private final static Logger logger =
Logger.getLogger(StatusEditorUI.class.getName());
+ /*
+ * NOTE: productionMode=true seems not to have any effect here, maybe because we are using multiple Servlets?
+ * The is therefore set globally in the web.xml
+ */
@WebServlet(value = {"/app/editstatus/*"}, asyncSupported = true)
@VaadinServletConfiguration(productionMode = true, ui = StatusEditorUI.class, widgetset = "eu.etaxonomy.cdm.vaadin.AppWidgetSet")
public static class Servlet extends VaadinServlet {
<filter-name>charsetFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-
+
+ <!--
+ The production mode is disabled per default.
+
+ There are also productionMode=true settings in the eu.etaxonomy.cdm.vaadin.ui package
+ which don't seem to have an effect.
+ -->
+ <context-param>
+ <description>Vaadin production mode</description>
+ <param-name>productionMode</param-name>
+ <param-value>true</param-value>
+ </context-param>
</web-app>