From e80c00ebd8f2c72f197074c4d1192d702539c8d0 Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Thu, 4 Oct 2012 18:21:03 +0300 Subject: Add Page.getLocation() (#9249) * Send the whole window location, not just fragment, in bootstrap and when the fragment changes * BrowserDetails now has URI getLocation() instead of String getUriFragment() * Keep FragmentChangeListeners as-is, should perhaps change to LocationChangeListeners at some point * Implement Page.getFragment() by means of Page.getLocation() * Differentiate between no fragment (null) and empty fragment ("") as java.net.URI does Change-Id: I1da1ea0664304d0c121a57e85d127fe48605e940 --- shared/src/com/vaadin/shared/ui/ui/UIConstants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/src/com/vaadin/shared/ui/ui/UIConstants.java b/shared/src/com/vaadin/shared/ui/ui/UIConstants.java index 76413628a4..06a4afae98 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIConstants.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIConstants.java @@ -26,7 +26,7 @@ public class UIConstants { public static final String NOTIFICATION_HTML_CONTENT_NOT_ALLOWED = "useplain"; @Deprecated - public static final String FRAGMENT_VARIABLE = "fragment"; + public static final String LOCATION_VARIABLE = "location"; @Deprecated public static final String ATTRIBUTE_NOTIFICATION_STYLE = "style"; -- cgit v1.2.3