In TG 2 you can pass the size of a TextField as an argument. But for
PasswordField the argument size doesn't exist and it must be passed as
an attrs.
This seams odd and incoherent. After all PasswordField is a TextField
a little bit special shouldn't the arguments be the sames?
display_name = TextField(size=40,
validator=UnicodeString(not_empty=True))
password = PasswordField(validator=String(not_empty=True),
attrs={"size": "14"})
-fred-
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---