On 4/5/06, Michele Cella <[EMAIL PROTECTED]> wrote: > Now there is a small problem since our Schema ATM always contain the > validator for the submit button you end up to receive the submit button > value into it, we can solve this problem easily (and I already talked > with Alberto about this) by adding a field to a schema only and only if > is_named = True (this also makes a lot of sense IMHO), the is named > parameter is correctly handled by the init method of the Widget base > class and by the WidgetsList but will not work if you do something > like: > > widget = Widget() > widget.name = '' > > should we make name a Widget property? will this work in case of > inheritance if someone is setting name?
Why do you need is_named = True? Can you just say "if widget.name"? Kevin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
