yes. that sounds like a good idea.
On 6/29/06, Roger Demetrescu <[EMAIL PROTECTED]> wrote:
>
> I also came to another patch... which sounds more robust:
>
>
> In controllers.py, function _process_output, we could make this change:
>
> =======================
>
> - for i in turbogears.config.get("tg.include_widgets", []):
> + for i in turbogears.config.get("tg.include_widgets", None) or []:
> foo = tg_util.load_class(i)
> if isinstance(foo, turbogears.widgets.meta.MetaWidget):
> foo = foo()
> output[i.split(".")[-1]] = foo
>
> =======================
>
>
> With this patch, we don't need to touch test_include_widgets() inside
> test_form_controllers.py...
>
>
> Cheers
>
> Roger
>
> >
>
--
cheers
elvelind grandin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---