> Yes that worked, I was actually just about to reply with that when I > got your message. :) > > Is this the "expected" thing to happen, or should I file a bug? > > It would be useful to be able to pass widgets in dicts in the case > where you're passing several widgets back to the template.
I'd thought about this as well, as I've been hit by that more than once. But the problem is: you can return arbitrary deeply nested objects, and it could be that trying to traverse these would trigger unwanted sideeffects and affect the performance - so I'd say it is better keep things as they are. However, a remedy _could_ be to make compound widgets aware of the needs of their children - this would be a one-time thing, at construction time. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

