On Mon, Jul 7, 2008 at 12:40 PM, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > > Alberto Valverde schrieb: >> You might find this useful, this is what TW does to emulate TG's behaviour: >> http://toscawidgets.org/trac/tw/browser/tw/core/base.py#L485 (up to #L491) > > That looks reasonable.
Well sort of. Users can induce stacktraces if they provide multiple name attributes where you were expecting just one. So TG2 developers who want to avoid such have always to check to see if a particular param is a list. I'm not saying that I object to this solution, it's backwards compatible, and it's easy to do. But I don't know that it's actually the best we can do in terms of providing a sane user interface. --Mark Ramm --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
