On Monday, June 28, 2010 11:46:30 mte wrote:
> Well, there is an error_dict passed when raising Invalid but it's
> obviously ignored, that's why I can't simply reimplement it just
> adding the error_dict variable...
> thanks,
> Matej
>
> the part of source code:
>
> raise Invalid(_('You must give a value for %s') % self.required,
> value_dict, state,
> error_dict={self.required:
> Invalid(self.message('empty', state), value_dict,
> state)})
That's interesting. This should actually make the error appear for a specific
field.
All I can suggest is to debug into this, why it's not ending up in form-
errors, and potentially file a bug.
Diez
--
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.