Fixed error message
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@158708 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a805217072
commit
4bf8783918
|
@ -59,7 +59,7 @@ public class ProjectInfoPanel extends ContentPanel {
|
|||
algorithmName = new TextField();
|
||||
algorithmName.setAllowBlank(false);
|
||||
algorithmName.addValidator(
|
||||
new RegExValidator("^[a-zA-Z0-9_]*$", "Attention only characters a-z,A-Z,0-9 are allowed"));
|
||||
new RegExValidator("^[a-zA-Z0-9_]*$", "Attention only characters a-z,A-Z,0-9 and _ are allowed"));
|
||||
algorithmName.addValidator(new RegExValidator("^((?!(TEST|test|Test)).)*$",
|
||||
"Attention the words that contain TEST are invalid names"));
|
||||
|
||||
|
@ -87,7 +87,7 @@ public class ProjectInfoPanel extends ContentPanel {
|
|||
algorithmCategory.setAllowBlank(false);
|
||||
algorithmCategory.setEmptyText("Enter description...");
|
||||
algorithmCategory.addValidator(
|
||||
new RegExValidator("^[a-zA-Z0-9_]*$", "Attention only characters a-z,A-Z,0-9 are allowed"));
|
||||
new RegExValidator("^[a-zA-Z0-9_]*$", "Attention only characters a-z,A-Z,0-9 and _ are allowed"));
|
||||
algorithmCategory.addValidator(new RegExValidator("^((?!(TEST|test|Test)).)*$",
|
||||
"Attention the words that contain TEST are invalid names"));
|
||||
algorithmCategory.addValidator(new MaxLengthValidator(32));
|
||||
|
|
Loading…
Reference in New Issue