Michele Cella wrote: > Kevin Dangoor wrote: >> On 4/6/06, Simon Belak <[EMAIL PROTECTED]> wrote: >>> God, I'm clumsy, clicked send instead of spell check. :( >>> >>> Anyway, to continue my train of thought, perhaps a better alternative >>> would be, to just change form.validate to except controller as a >>> parameter (where needed). >> I'm not sure I like the idea of coupling in that direction. Widgets >> right now don't really have much knowledge of the rest of TurboGears, >> which I think is a good thing. >> > > I think Simon is looking at the problem from a different POV than what > we are doing, right? :-) > > Simon, we just want to remove the "isinstance(form, Widget)" check and > replace it with something (more flexible and that doesn't rely on the > Widget concept) that just checks the presence of a "validate" method, > that's all. ;-)
I know, it's just I don't like that *whole* block. ;) Original idea committed as r1103. Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk -~----------~----~----~----~------~----~------~--~---
