#1171: WidgetsList should allow inheritance
------------------------+---------------------------------------------------
 Reporter:  grover      |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:           
Component:  TurboGears  |     Version:  1.0b1    
 Severity:  normal      |    Keywords:           
------------------------+---------------------------------------------------
 class A(w.WidgetsList):
     name = w.TextField()

 Class B(A):
     address = w.TextField()

 my_form = w.TableForm(fields=B())

 This form has "address" but not "name". Shouldn't WidgetsLists inherit
 their fields? Or, maybe I'm trying to go about this the wrong way...

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1171>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" 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-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to