Mark Ramm wrote: > 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.
BTW, I notice you guys are using params.dict_of_lists() and then modifying it, where params.mixed() gives you the string-or-list values that you want. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
