Thank you all for the responses:

Solutions:
Problem #1
user = validators.Pipe(validators=[validators.Int(), validators.OneOf
(map(lambda userid: userid[0], myModel.getIDTuples()))])
did the trick.
(I did not notice the Pipe-Valitator before. The mechanism to validate
upon a given sequence in list order perfectly machtes my needs!)

To solve Problem #2 I will write a validtor based on the code of
Christoph to compare the dates i need for
further processing.

Best regards.

Werner



--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to