Michele Cella wrote: > Simon Belak wrote: >> Sure! >> Although, come to think of it, could we make do with just one interface, >> making this whole block unnecessary? >> > > Not sure what you intend, have you a ready example? :D > > One thing to keep in mind while doing this is that any Widget instance > is also a callable (linked to the display() method).
To be honest, I'm not quite sure. Assuming initialisation with controller is actually needed for some values of form, I suppose the best solution would be to add another function to our validation protocol, e.g. bind_controller. Depending on where we would like to reduce boilerplate, this method could be made optional. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
