Michele Cella wrote: > Simon Belak wrote: >> Defaults for method parameters. More specifically, defaults for inputs. >> Currently it's well-nigh impossible to have meaningful defaults for >> nested forms. >> > > If we want that I think we (well, you :P) can easily do that using > util.recursive_update and updating the method default dict by using the > input values one, that's all it takes, as I said on the ticket we don't > need the different notation, yep nested dict are a bit more painful but > that's what python gives us and we are not using that notation even for > value and options in widgets and I don't think we should provide 2 ways > of doing it, in the controller side I'm more positive about exposing > only regular python. ;-) > > Thanks! > > Ciao > Michele >
I agree, we should reuse update_dict, however I still think it needs to be a part of every TG instance, not just my super-duper-hot-rod-custom. ;) 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 -~----------~----~----~----~------~----~------~--~---
