Ignore:
Timestamp:
17 Sep 2011, 23:56:43 (13 years ago)
Author:
uli
Message:

Remove crap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/schema/field.py

    r6784 r6785  
    9393              IContextSourceBinder.providedBy(vocabulary)):
    9494            self.vocabulary = vocabulary
    95         # Before a default value is checked, it is validated. However, a
    96         # named vocabulary is usually not complete when these fields are
    97         # initialized. Therefore signal the validation method to ignore
    98         # default value checks during initialization of a Choice tied to a
    99         # registered vocabulary.
    100         #self._init_field = (bool(self.vocabularyName) or
    101         #                    IContextSourceBinder.providedBy(self.vocabulary))
    10295        super(TextLineChoice, self).__init__(**kw)
    103         #self._init_field = False
    10496        return
    10597
     
    126118        super(TextLineChoice, self)._validate(value)
    127119
    128         ## Pass all validations during initialization
    129         #if self._init_field == 12:
    130         #    return
    131120        # Check allowed value range (the vocabulary part)
    132121        vocabulary = self.vocabulary
Note: See TracChangeset for help on using the changeset viewer.