So far my best results are with:
def validation_error(self, func, errors, *args, **kw):
appliLogger.debug("Validator_error func : "+ func)
appliLogger.debug("Validator_error kw : "+ str(kw))
appliLogger.debug("Validator_error args : "+ str(args))
appliLogger.debug("Validator_error errors : "+ str(errors))
and the log is:
2006-07-03 21:11:51,985 DEBUG Validator_error func : suscribe
2006-07-03 21:11:51,985 DEBUG Validator_error kw : {}
2006-07-03 21:11:51,986 DEBUG Validator_error args : ({'age':
<formencode.api.Invalid instance at 0xb7387f2c>},)
2006-07-03 21:11:51,987 DEBUG Validator_error errors : {}
This link is not available at the moment, but I will visit it as soon
as it is on again.
http://trac.turbogears.org/turbogears/wiki/HowDoesErrorHandlingWork
But all that seems to be more less buggy...
Cheers
Arnold
Arnold
I can't get parameters in
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---