Customizing a LiveForm's action buttons is hard

Bug #438688 reported by Jonathan Jacobs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Methanal
Fix Released
Medium
Jonathan Jacobs

Bug Description

The only way to customize a LiveForm's action buttons is to subclass it and provide your own template (which is likely to be a copy of LiveForm's with a few minor changes.) This approach is rather ugly and error prone (the template for LiveForm should be able to change without fear of breaking everything) for such a common operation.

One solution is to introduce an Action Python object that dictates what action buttons appear and what they do.

Bug #436924 probably can't be implemented cleanly before this functionality is introduced.

Related branches

Changed in methanal:
status: New → Confirmed
importance: Undecided → Medium
Changed in methanal:
status: Confirmed → In Progress
Changed in methanal:
assignee: nobody → Jonathan Jacobs (jjacobs)
Changed in methanal:
status: In Progress → Fix Committed
Revision history for this message
Jonathan Jacobs (jjacobs) wrote :

I'm re-opening this, because there is an issue with the code in the branch, indicating that additional testing is required.

Changed in methanal:
status: Fix Committed → Incomplete
Changed in methanal:
status: Incomplete → In Progress
Changed in methanal:
status: In Progress → Fix Committed
Changed in methanal:
milestone: none → 0.2.0
Changed in methanal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.