Hi,

this:

 text = widgets.TextArea(name=_("Beschreibung"),
validator=validators.NotEmpty())

produces error while starting start-project.py:

File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/widgets/forms.py",
line 140, in __init__
    if name is not None and ('-' in name or '.' in name):
TypeError: iterable argument required


this does work:

 text = widgets.TextArea(name=_("Beschreibung").eval(),
validator=validators.NotEmpty())


Is this supposed to work in this way? Eval requiered? Why?

--
Gregor



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

Reply via email to