Apologies for cross posting, not sure if this should be here of tw list.
In my old tg widget code I had the following as a widget input
fields = [
TextField("name", label="Name:",
validator=v.All( v.UnicodeString(), v.NotEmpty() )
]
That doesn't work with toscawidgets, I get syntax error regarding the
closing ],
and I've traced it to adding the second validator. Can anyone tell me
what gives here?
Thanks!
Iain
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---