On Monday 26 January 2009 13:44:56 Christoph Zwerschke wrote:
> Diez B. Roggisch schrieb:
> > I currently face the problem that I want to include jquery in *every*
> > page we render, independent of a TW-widget that references it.
> >
> > So I wonder if there is a tg.include_widgets-like functionality available
> > or planned that allows me to do that?
>
> You can include it directly in your master template. But I guess your
> problem is that if you use widgets that include jquery explicitly, then
> jquery will be included double. One way to avoid this is to create a
> dummy widget with jquery and put that in tg.include_widgets.

I maybe should have mentioned that I use tw.jquery, so I already have a 
jquery-widget available (like MochiKit used to be in TG 1.x)

But *is* there a tg.include_widgets in TG2? I sure don't find one in the 
sources.

Diez

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