On 11/03/2006, at 20:34, Michele Cella wrote:
>
> No, the almost is important, we don't support it for every FormField
> since attrs makes sense only on simple fields (that's why we had
> SimpleWidget before), not in a RadioButtonList or CheckBoxList we are
> the attrs specified going to end up? <ul>? <li>? <input>?  
> unpredictable
> IMHO. ;-)


I see...

Regarding the NullValidator at widgets __init__:  I'm not so sure now  
that I'm at the code... probably this NullValidator thing should  
remain in generate_schema because it's really an implementation  
detail on how schemas are autogenerated. I even have a more recent  
version of the patch that moves NullValidator's declaration to meta...

I think it's more intuitive that widgets with no validator to have  
validator = None in their template, what do you think?

Well, I'm ready to commit then if everything's alright over there... :)

Alberto

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to