#1162: Generic controller method output modifying decorator
-------------------------+--------------------------------------------------
Reporter: ajones | Owner: anonymous
Type: enhancement | Status: closed
Priority: low | Milestone: __future__
Component: TurboGears | Version: 1.0b1
Severity: minor | Resolution: invalid
Keywords: |
-------------------------+--------------------------------------------------
Changes (by ajones):
* status: new => closed
* resolution: => invalid
Comment:
At the time I wrote this, it seemed like it would turn out to be more
useful than I now think it is. The whole thing started with someone asking
for something similar to Rails' acts_as_voteable. This would make it
easier to write a decorator that injects voting (or commenting, or
versioned, etc) widgets around another widget.
The frustration that made me want to submit this though was that there is
currently no middle ground between making a widget universally available
and putting the code for it directly into the required controllers.
Although I think that is an important point, I don't know if a decorator
that would itself have to be decorated to really be useful is the right
solution for this.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1162>
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?hl=en
-~----------~----~----~----~------~----~------~--~---