Hey.

I created a validator Schema and used it to validate a tableform
widget, all work ok and pretty, but I have some doubts about this
setup. Normally, the error messages concerning the invalid fields are
shown right next to it, with a bit of CSS, it can be tweaked and
beautified, but:

* How I i18n it? The messages, I mean.
* How can I show error messages like those, generated by my own code?
This is because even with a lot of help from the validators I still
have to check for a couple of things, like invalid/already registered
usernames, and I want to raise an exception or something that will
make my error_handler show the message right near the 'username'
field, as it does for the other user name errors (that are checked by
my Schema). Is that possible? To raise a 'validation error' from the
controller code?

[]s
core

--~--~---------~--~----~------------~-------~--~----~
 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