#2023: [PATCH] Allow datagrid to set name at display time
------------------------+---------------------------------------------------
 Reporter:  mw44118     |       Owner:  faide           
     Type:  defect      |      Status:  new             
 Priority:  normal      |   Milestone:  1.0.x bugfix    
Component:  TurboGears  |     Version:  1.0.7           
 Severity:  normal      |    Keywords:  DataGrid display
------------------------+---------------------------------------------------
 the datagrid widget uses the name parameter to set html ID of the widget.
 So, if I want to render the same datagrid instance twice on the same page,
 I get an html validation error, because I have two tables with the same
 id.

 It is already possible to pass in name='blah' to the display method, and
 the docs say that this should be used to set the name parameter, but
 actually, the value passed in to display is overwritten by the self.name
 value.

 So, this patch fixes that issue.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2023>
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.
This group is read-only. No posting by normal members allowed.
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to