def getValidator(self, request): return deep_dict(self.name, formencode.Schema(**{ self.latName:formencode.validators.Number(**self.getValidatorArgs()), self.longName:formencode.validators.Number(**self.getValidatorArgs()) }) )
def getValidator(self, request): return deep_dict(self.name, TypeAheadValidator(self.attrs))
def getValidator(self, request): return deep_dict(self.name, formencode.ForEach(name = formencode.validators.String(required=True)))
def getValidator(self, request): return deep_dict(self.name, OneOf(map(methodcaller('getKey', request), self.optionGetter(request)), hideList = True))
def getValidator(self, request): return deep_dict(self.name, DateValidator(format = self.format, not_empty = self.attrs.required))
def getValidator(self, request): return deep_dict(self.name, self._validator(**self.getValidatorArgs()))