Ticket #1718 (closed defect: fixed)
[Patch] Inherited template params and member_widgets get mixed up
| Reported by: | chrisz | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | TurboGears | Version: | 1.0.4.3 |
| Severity: | normal | Keywords: | widgets params |
| Cc: |
Description
Th params and member_widgets are lists with a certain order. However, when mixing in the params and member_widgets from base widgets, TG does not preserve the order and these lists gets mixed up. That's the reason why e.g. in the widgetbrowser the params in the param description tab are in arbitrary order. I have attached patches for 1.0 and 1.1 so that TG preserves the order of these lists.
Attachments
Change History
Changed 4 years ago by chrisz
-
attachment
template_params_1_0.patch
added
Changed 4 years ago by chrisz
-
attachment
template_params_1_1.patch
added
Keep order of widget params and remove deprecated params (1.1 branch)
Note: See
TracTickets for help on using
tickets.
Keep order of widget params (1.0 branch)