]> source.dussan.org Git - vaadin-framework.git/commit
Add Page.getLocation() (#9249) 63/63/2
authorJohannes Dahlström <johannesd@vaadin.com>
Thu, 4 Oct 2012 15:21:03 +0000 (18:21 +0300)
committerJohannes Dahlström <johannesd@vaadin.com>
Fri, 5 Oct 2012 11:10:03 +0000 (14:10 +0300)
commite80c00ebd8f2c72f197074c4d1192d702539c8d0
treea955befdc9e7fa65bd80467256b7b1318823657a
parentff4ee18e0f26515cfa818ab9d249932a3bbf0955
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
15 files changed:
WebContent/VAADIN/vaadinBootstrap.js
client/src/com/vaadin/client/ui/ui/UIConnector.java
client/src/com/vaadin/client/ui/ui/VUI.java
server/src/com/vaadin/navigator/Navigator.java
server/src/com/vaadin/server/AbstractCommunicationManager.java
server/src/com/vaadin/server/CombinedRequest.java
server/src/com/vaadin/server/Page.java
server/src/com/vaadin/server/VaadinPortletRequest.java
server/src/com/vaadin/server/VaadinRequest.java
server/src/com/vaadin/server/VaadinServletRequest.java
server/src/com/vaadin/ui/UI.java
shared/src/com/vaadin/shared/ui/ui/UIConstants.java
uitest/src/com/vaadin/tests/components/ui/LazyInitUIs.java
uitest/src/com/vaadin/tests/minitutorials/v7a1/UsingUriFragments.java
uitest/src/com/vaadin/tests/navigator/NavigatorTest.java