summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-10-08 08:11:51 +0300
committerVaadin Code Review <review@vaadin.com>2012-10-08 10:35:02 +0000
commit13d5b3e98954c2ade382305f8d044b2b49fdbd0b (patch)
tree37559368471cbed3a9ea159261869bcf5c82e52a /shared
parent6337f8f8ccb88014f7a3d269332661ec8183b758 (diff)
downloadvaadin-framework-13d5b3e98954c2ade382305f8d044b2b49fdbd0b.tar.gz
vaadin-framework-13d5b3e98954c2ade382305f8d044b2b49fdbd0b.zip
Bootstrap UI using relative URLs with servlets (#6771)
* Configure widgetset using URLs relative to the requested page * Provide a Util method for getting an absolute URL from a relative URL * Test by using an embedded Jetty acting as a transparent proxy * Make /embed1 use the Buttons test to enable testing UIDL requests Change-Id: I4ef9b40e3954ae16b682d743a339f4360db40d4d
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ApplicationConstants.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ApplicationConstants.java b/shared/src/com/vaadin/shared/ApplicationConstants.java
index 2c0c0c4af0..079aa492cc 100644
--- a/shared/src/com/vaadin/shared/ApplicationConstants.java
+++ b/shared/src/com/vaadin/shared/ApplicationConstants.java
@@ -39,7 +39,9 @@ public class ApplicationConstants {
@Deprecated
public static final String UPDATE_VARIABLE_METHOD = "v";
- public static final String PORTLET_RESOUCE_URL_BASE = "portletAppURLBase";
+ public static final String SERVICE_URL = "serviceUrl";
+
+ public static final String SERVICE_URL_PATH_AS_PARAMETER = "usePathParameter";
public static final String V_RESOURCE_PATH = "v-resourcePath";
@@ -52,4 +54,14 @@ public class ApplicationConstants {
* changes.
*/
public static final String URL_PARAMETER_REPAINT_ALL = "repaintAll";
+
+ /**
+ * Configuration parameter giving the (in some cases relative) URL to the
+ * VAADIN folder from where themes and widgetsets are loaded.
+ * <p>
+ * <b>Refactor warning:</b> This value is also hardcoded in
+ * vaadinBootstrap.js.
+ * </p>
+ */
+ public static final String VAADIN_DIR_URL = "vaadinDir";
}