On Fri, Jun 27, 2008 at 11:09 AM, Christopher Arndt <[EMAIL PROTECTED]> wrote:
>
> percious schrieb:
>> I am AOK with zapping them from the return dictionary.... eventually.
>
> I fully agree.

To be clear, my suggestion was meant to be:

1) drop the deprecation warning for returning a widget in the dict
2) allow people to return widgets in the dict, with no warnings at all.

But I still like the idea of telling people not to use the return
dictionary to pass around widgets, and I'm not opposed to continue to
deprecate  that method for the reasons I mentioned in my original
e-mail.

I'm also thinking about adding a feature so that all templates have a
widgets object, which is automatically there, and which users can
populate with whatever "global" widgets they want.  That way if people
just add widgets to the central registry, they will automatically be
available in all of their templates.   For a lot of projects, this
would eliminate the need for controllers to know about widgets at all.

--Mark

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to