alex bodnaru wrote:
> i'm here to report success and a small redundancy with master.html
> 
> after patching tw (please consider patching tg instead / ticket 2010)

I already attached a patch for TG to this ticket.

> the rows that try to do the same job are pasting the very same css and js 
> again:
> <link py:for="css in tg_css" py:replace="ET(css.display())" />
> <link py:for="js in tg_js_head" py:replace="ET(js.display())" />
> these should probably not be allways generated.

These lines are correct for the way JS/CSS resources are currently
collected in TG. tw wigdets only have a 'retrieve_resources' method,
which returns JS and CSS resources together in *one* iterable. This has
to filtered/partitioned into two lists, one for JS and one for CSS
widgets, to work correctly with the way these resources are injected
into the templates by TG.

I suggest you try the patch for ticket #2010, which does this.

Chris

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

Reply via email to