hi chris,

thanks for the patch.

you will be angry at me:

as i told you, removing the master reorganization lines didn't affect
the rendering of the resources.
well, these were running exactly on the input from retrieve_javascript
and _css. hence, removing the
patch i have applied to revive these did not hurt this rendering.
hence, the patch i've asked you for
was not needed either. i have retested with more standard tableform
and tw.autocomplete, and everything
went well. don't know how ;) .

about your patch: it does apply but tg won't run afterwards. i have tg
1.1b1. will it be safe to checkout
1.1trunk to make the try?

thanks a lot,
i also feel sorry for the time you spent with the patch,
though you were very helpful with explaining me what i need for non
widget javascript,

best regards,
alex

On Mon, Oct 13, 2008 at 10:20, Christopher Arndt <[EMAIL PROTECTED]> wrote:
>
> 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