Author: max.andersen(a)jboss.com
Date: 2007-09-19 04:38:34 -0400 (Wed, 19 Sep 2007)
New Revision: 3704
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
Log:
tell user what is incorrect about seam runtime name.
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
07:26:17 UTC (rev 3703)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-09-19
08:38:34 UTC (rev 3704)
@@ -351,7 +351,7 @@
}
if(!name.getValueAsString().matches("[a-zA-Z_][a-zA-Z0-9_\\-\\.]*")) {
- setErrorMessage("Runtime name is not correct");
+ setErrorMessage("Runtime name contain invalid characters, e.g. space is not
allowed");
setPageComplete(false);
return;
}