The debugbar render_bars method does exactly what you are looking for:
https://bitbucket.org/_amol_/tgext.debugbar/src/4d3f497dc3c4/tgext/debugbar/initialize.py#cl-59

just register a method like that for @after_render hook.

Otherwise you can actually use TW add_call registering resources for injection.

On Wed, Jul 18, 2012 at 11:54 AM, alex bodnaru
<[email protected]> wrote:
>
> hello friends,
>
> i'd like to ask whether i could append some arbitrary html before end body, in
> the spirit of add_call.
>
> the usage is for popup divs that could be injected by widgets.
>
> thanks in advance,
> alex
>
> --
> 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.
>

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