]> source.dussan.org Git - vaadin-framework.git/commit
Support mixed legacy and VaadinFinder locators (#12641, #12642, #12643)
authorHenri Sara <hesara@vaadin.com>
Tue, 1 Oct 2013 11:35:17 +0000 (14:35 +0300)
committerHenri Sara <hesara@vaadin.com>
Tue, 1 Oct 2013 11:35:17 +0000 (14:35 +0300)
commit5cc968b378ccf99ed511deaadd8c47073c300365
treeadc0a0de87c15ec382cd3717398c41d31714f18e
parenta9f332fddb5ff70338527c1ddad3ca40dca70d6d
Support mixed legacy and VaadinFinder locators (#12641, #12642, #12643)

ComponentLocator tries to use all available locator strategies until a
match is found (#12641) and VaadinFinderLocatorStrategy also accepts
simple indexed paths (#12642) with legacy locators as a backup. To
enable mixed use of locators, LegacyLocatorStrategy now implements
getElementByPathStartingAt() (#12643).

Change-Id: I6b763565adef0e294b353ef6e2dfdf70ae0d77a9
client/src/com/vaadin/client/componentlocator/ComponentLocator.java
client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java
client/src/com/vaadin/client/componentlocator/LocatorStrategy.java
client/src/com/vaadin/client/componentlocator/VaadinFinderLocatorStrategy.java