diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2012-10-04 18:21:03 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2012-10-05 14:10:03 +0300 |
commit | e80c00ebd8f2c72f197074c4d1192d702539c8d0 (patch) | |
tree | a955befdc9e7fa65bd80467256b7b1318823657a /shared | |
parent | ff4ee18e0f26515cfa818ab9d249932a3bbf0955 (diff) | |
download | vaadin-framework-e80c00ebd8f2c72f197074c4d1192d702539c8d0.tar.gz vaadin-framework-e80c00ebd8f2c72f197074c4d1192d702539c8d0.zip |
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
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIConstants.java | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |