I'm actually having problems with the RequireIfMissing class in
general. I'm not sure it works. From the source code, I find that
there is a discrepancy between the attribute names for require and
required in the FE source code:
__SNIP__
# Field that potentially is required:
require = None
__SNIP__
def _to_python(self, value_dict, state):
is_required = False
__SNIP__
if is_required and not value_dict.get(self.required):
__SNIP__
Note that the field is require but it's referred to as self.required
later..
I'm testing my own class to see if that fixes the issue.
-Dennis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---