fixed support Ticket #736
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@86272 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
dddc1f66ee
commit
21d28d7ffb
|
@ -218,8 +218,8 @@ public class DialogShareFolder extends Dialog {
|
|||
txtName.setAllowBlank(false);
|
||||
txtName.setAutoValidate(true);
|
||||
txtName.setFieldLabel("Folder Name");
|
||||
txtName.getMessages().setRegexText(ConstantsExplorer.REGEX_FOLDER_NAME+": .<>\\|?/*%$");
|
||||
txtName.setRegex("^[^.<>\\|?/*%$]*$");
|
||||
txtName.getMessages().setRegexText(ConstantsExplorer.REGEX_FOLDER_NAME+": .<>\\|?/*%$ or contains / or \\");
|
||||
txtName.setRegex("^[^.<>\\|?/*%$]+[^\\/]*$");
|
||||
|
||||
textAreaDescription.setFieldLabel(ConstantsExplorer.DIALOG_DESCRIPTION);
|
||||
textAreaDescription.setHeight(heightTextArea);
|
||||
|
|
|
@ -63,8 +63,8 @@ public class DialogAddFolderAndSmart extends Dialog {
|
|||
// txtName.setRegex("^[a-zA-Z0-9]+[^.<>\\|?/*%$]*$");
|
||||
|
||||
txtName.setAutoValidate(true);
|
||||
txtName.getMessages().setRegexText(ConstantsExplorer.REGEX_FOLDER_NAME+": .<>\\|?/*%$");
|
||||
txtName.setRegex("^[^.<>\\|?/*%$]*$");
|
||||
txtName.getMessages().setRegexText(ConstantsExplorer.REGEX_FOLDER_NAME+": .<>\\|?/*%$ or contains / or \\");
|
||||
txtName.setRegex("^[^.<>\\|?/*%$]+[^\\/]*$");
|
||||
|
||||
// txt.setMinLength(2);
|
||||
txtName.setFieldLabel(ConstantsExplorer.DIALOG_NAME);
|
||||
|
|
|
@ -43,8 +43,8 @@ public class DialogText extends Dialog {
|
|||
txt.setValue(msgTxt);
|
||||
// txt.setRegex("^[a-zA-Z0-9]+[ a-zA-Z0-9_()-]*");
|
||||
// txt.setRegex("^[a-zA-Z0-9]+[^.<>\\|?/*%$]*$");
|
||||
txt.getMessages().setRegexText(ConstantsExplorer.REGEX_FOLDER_NAME+": .<>\\|?/*%$");
|
||||
txt.setRegex("^[^.<>\\|?/*%$]*$");
|
||||
txt.getMessages().setRegexText(ConstantsExplorer.REGEX_FOLDER_NAME+": .<>\\|?/*%$ or contains / or \\");
|
||||
txt.setRegex("^[^.<>\\|?/*%$]+[^\\/]*$");
|
||||
txt.setAutoValidate(true);
|
||||
txt.setAllowBlank(false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue