Hello group!
I've got the same problem, except that the default radiobutton checked
unless it is numeric zero
e.g this _won't_ work:
rbl = widgets.RadioButtonList( name='filter',
options = [(0, 'All' ),
(1, 'Only
Free'),
(2, 'Only
Paid')],
default = 0)
but this works for me:
rbl = widgets.RadioButtonList( name='filter',
options = [ ('0', 'All '),
('1',
'Only Free'),
('2',
'Only Paid')],
default = '0')
maybe some internals treat numeric zero as False or something
hope that helps
regards,
if
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---