remi jolin wrote:
Steve Bergman a écrit :
>
> See:
>
> http://tinyurl.com/yjpnez
>
Thanks for the link, but I still don't understand why it works when
options = [(0, '--'), (1, 'A'), ...] and it does not if options = [('',
'--'), (1, 'A'), ...]
I think it is a type question. I had a similar problem which I solved
by adding: validator=Int to it.
I suppose the widget wants all codes as integers or all as strings but
not mixed types.
As you see it works with all codes integer (0,1,..) but ('',1,...)
If you really want codes as strings the try something like:
options = [('','--'), ('1', 'A'), ...]
jo
----
PS:
btw, I would like to know why goggle-turbogears doesn't send me post
any more?
I didn't change nothing in my group profile.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---