Author: dgolovin
Date: 2007-09-19 12:28:29 -0400 (Wed, 19 Sep 2007)
New Revision: 3715
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-913
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-09-19
15:15:16 UTC (rev 3714)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-09-19
16:28:29 UTC (rev 3715)
@@ -350,8 +350,8 @@
return;
}
- if(!name.getValueAsString().matches("[a-zA-Z_][a-zA-Z0-9_\\-\\.]*")) {
- setErrorMessage("Runtime name contain invalid characters, e.g. space is not
allowed");
+ if(!name.getValueAsString().matches("[a-zA-Z_][a-zA-Z0-9_\\-\\. ]*")) {
+ setErrorMessage("Runtime name is not correct");
setPageComplete(false);
return;
}