My fault, I see now the 'attrs' should be defined inside options.
Thank you any way.

jo


Jorge Vargas ha scritto:
> On 10/23/06, Jose Soares <[EMAIL PROTECTED]> wrote:
>   
>> Hi all,
>>
>> I'm trying to disable a RadioButtonList widget.
>> I tried using attrs also list_attrs but it doesn't disable the widget.
>>
>> What's wrong?
>>
>>
>>
>>                     widgets.RadioButtonList("pagamento", options=[(1,
>> "solo ultima"),
>>                                                                   (2,
>> "tutte")],
>>
>> label='cancella:',
>>
>> list_attrs={'disabled':True}
>>
>>     
> can you post the HTML generated by it?
>
> I don't think that will render correctly according to
> http://www.w3.org/TR/html4/interact/forms.html#adef-disabled
>
>   
>> jo
>>
>>
>>     
>
> >
>   


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