#2052: Errors on generated (X)HTML prevent Strict validation
------------------------+---------------------------------------------------
Reporter: entfe001 | Owner: faide
Type: defect | Status: closed
Priority: normal | Milestone: 1.1
Component: TurboGears | Version: 1.0.7
Severity: normal | Resolution: fixed
Keywords: |
------------------------+---------------------------------------------------
Changes (by chrisz):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in r5860.
Since forms addressed by name are still pretty common in HTML (though
deprecated), I have added a `use_name` parameter that is by default True
in TG 1.0 and False in TG 1.1 and 1.5. If it is set, then `name` is used
instead of `id`. This should solve the problem while not breaking backward
compatibility and allowing the user to override the default behavior. I
have also added some tests and comments.
--
Ticket URL: <http://trac.turbogears.org/ticket/2052#comment:1>
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
-~----------~----~----~----~------~----~------~--~---