Hi,
I use the kid templates with a master.kid template that has some global
parts which are different before and after the login, the problem is
that these parts don't change after I login, they stay the same as they
were before login. If I restart the cherrypy server the template will
be updated to the after login, but when I logout it will not change
back, again, until cherrypy restart.
I use the py:match method for layouts with <body
py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'"
py:attrs=">
in the master (the getOnLoad(self) is a method to get dynamic onload to set forms to focus on load).
<span py:if="identity.anonymous" py:strip="True">Not logged in</span> is used to tell the user he is not logged in.
The body template uses py:extends="'master.kid'" to employ the master template.
This is still with TG 0.9a1. I don't have a clue where to search for this caching and how to disable it. Any ideas?
Baruch
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] Kid template caching Baruch Even
- [TurboGears] Re: Kid template caching Baruch
- [TurboGears] Re: Kid template caching Baruch
- [TurboGears] Re: Kid template caching Kevin Dangoor
- [TurboGears] Re: Kid template caching Jeff Watkins

