code: public FormInputValidator directoryNotEmpty (VisValidatableTextField field, String errorMsg) {
  		DirectoryContentValidator validator = new DirectoryContentValidator(errorMsg, false);
  		field.addValidator(validator);
  		add(field);
  		return validator;
  	}
docs: Validates if relative path entered in text field points to an existing and non empty directory.