2008/4/24, Christoph Zwerschke <[EMAIL PROTECTED]>:
>
> > validator = validators.NotEmpty)
>
> I think you must instantiate validators, i.e. use validators.NotEmpty().
I could try that, but I do not think it will work, because in the same
kid-file I have:
#####
entryTitle = widgets.TextField(name = 'entryTitle', label = 'Entry
Title',
validator = validators.NotEmpty)
entryText = widgets.TextArea(name = 'entryText', label = 'Blog Entry',
validator = validators.NotEmpty,
rows = 25, cols = 70)
#####
and that works as expected.
I just tried it, and it does not work.
--
Cecil Westerhof
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---