summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2013-12-12 13:37:47 +0200
committerHenri Sara <hesara@vaadin.com>2013-12-12 13:37:47 +0200
commitcaddd1e32396b328402db7e456346d202ea6fcd0 (patch)
tree8611d7c90192c04d6b73fff846f7f993f9e800c1
parentbf77c65bd4a7c880dc852a16d2009e02e5d8941b (diff)
downloadvaadin-framework-caddd1e32396b328402db7e456346d202ea6fcd0.tar.gz
vaadin-framework-caddd1e32396b328402db7e456346d202ea6fcd0.zip
More flexible criteria for using LegacyLocatorStrategy (#13017)
Change-Id: I88070e09010de77ac4656df47a308aae635a8328
-rw-r--r--client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java b/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java
index dfd29058cd..cf91d5d4ad 100644
--- a/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java
+++ b/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java
@@ -75,7 +75,7 @@ public class LegacyLocatorStrategy implements LocatorStrategy {
private final ApplicationConnection client;
private static final RegExp validSyntax = RegExp
- .compile("^((\\w+::)?(PID_S\\w+)?)?(/[$_a-zA-Z0-9]+\\[\\d+\\])*/?(#.*)?$");
+ .compile("^((\\w+::)?((PID_S)?\\w[-$_a-zA-Z0-9]*)?)?(/[-$_a-zA-Z0-9]+\\[\\d+\\])*/?(#.*)?$");
public LegacyLocatorStrategy(ApplicationConnection clientConnection) {
client = clientConnection;