Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #610 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

[PATCH] Remove SimpleWidget usage and use template_vars instead

Reported by: michele Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TG Widgets Version:
Severity: normal Keywords:
Cc:

Description

This patch removes SimpleWidget? usage and some no more needed (thanks god) multiple inheritance thanks to template_vars and Alberto works to automatically manage mutable attributes.

ATM the SimpleWidget? was just this:

class SimpleWidget(Widget):
    template_vars = ["attrs"]
    attrs = {}

Attachments

bye-bye-simple-widget.patch Download (10.1 KB) - added by michele 13 years ago.
The patch
bye-bye-simple-widget-take2.patch Download (7.7 KB) - added by michele 13 years ago.
here we go
bye-bye-simple-widget-take3.patch Download (7.7 KB) - added by michele 13 years ago.
fixed RPC

Change History

comment:1 Changed 13 years ago by anonymous

  • Component changed from CherryPy to Widgets
  • Milestone set to 0.9

Changed 13 years ago by michele

The patch

comment:2 Changed 13 years ago by michele

Mmm, I will post another patch this one still contain some of the fixes I've done for std->tg.

Changed 13 years ago by michele

here we go

comment:3 Changed 13 years ago by michele

The patch seems to break something with the RPC widgets, I'm going to look into it.

Changed 13 years ago by michele

fixed RPC

comment:4 Changed 13 years ago by alberto

Bye, bye SimpleWidget? you're gone at r809. Thanks Michele!

comment:5 Changed 13 years ago by anonymous

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.