Sorry, it's late and I didn't explain that very well. On 1/13/07, Lee McFadden <[EMAIL PROTECTED]> wrote: > > As I say, I believe that a new mechanism for adding widgets is > required to separate the MVC a little more. Otherwise one would have > to create two versions of the same method if you wish to use a widget. > One with the widget in the return value and one without. Not very > DRY.
Should have read: Otherwise two versions of the same method would have to be written if you wished to use both widgets in the html view and a json view, one with the widget in the output and one without. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

