#655: Forms no longer honour action= in display method
----------------------+-----------------------------------------------------
Reporter: xentac | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone:
Component: Widgets | Version:
Severity: critical | Keywords:
----------------------+-----------------------------------------------------
I'm not sure when this broke, but apparently,
form.display(action='something') doesn't use that action.
The reason is the order of assignment in Widget.display. Our custom
action is set in template_vars when display is called and then reset
because around line 235 inside the update_data function.
I have an updated test to check the output, but I'm not sure how we want
to go about fixing this. I've always thought that things passed in to the
display method should override anything set directly on the widget.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/655>
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
-~----------~----~----~----~------~----~------~--~---