Commit 3cfcd169 authored by Jean-Paul Smets's avatar Jean-Paul Smets

added validate_sub_field patch


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2422 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e64b015b
......@@ -89,6 +89,7 @@ Field.generate_field_key = PatchedField.generate_field_key
Field.render = PatchedField.render
Field.render_sub_field = PatchedField.render_sub_field
Field.generate_subfield_key = PatchedField.generate_subfield_key
Field.validate_sub_field = PatchedField.validate_sub_field
from Products.Formulator.Validator import SelectionValidator
from Products.Formulator.Validator import StringBaseValidator
......@@ -640,7 +641,7 @@ class PatchedDateTimeWidget(DateTimeWidget):
DateTimeField.widget = PatchedDateTimeWidget()
from Products.Formulator.Validator import DateTimeValidator
from Products.Formulator.Validator import DateTimeValidator, ValidationError
class PatchedDateTimeValidator(DateTimeValidator):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment