#902: [PATCH] All input widgets should have a "field_id" param to allow
overriding the DOM element's id
---------------------+------------------------------------------------------
Reporter: alberto | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b1
Component: Widgets | Version: 0.9a5
Severity: major | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by michele):
@Alberto:
I reverted such a change 1 month ago I believe, the reason is that
field_id can't change at display time since a Form widget needs to access
it as an attribute of the field to make the label point to it, making it
variable will introduce a discrepancy between the displayed id and the id
attribute making a label useless. :-(
What about keeping the id as the value of an hidden field that you parse?
can this work?
@Jorge:
I don't remember this name==id thing... and I'm not keen on changing this
since it doesn't really make much sense IMHO. :D
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/902>
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
-~----------~----~----~----~------~----~------~--~---