Ok, frames are working. To clear again why i use frames: on localhost,
in development environment, while working with product prototype. They
are greate for my current needs.
Some implementation details (changes i've done to make frames work):
New index.kid:
<frameset cols="155,*" border="1">
<frame name="sidebar" src="sidebar" scrolling="auto"
marginwidth="0" marginheight="0"/>
<frame name="com" id="com" src="com" scrolling="auto"
marginwidth="0" marginheight="0"/>
</frameset>
controllers.py:
...
@turbogears.expose(html="ui.myapp.templates.index")
def index(self):
return dict(errmsg = '')
@turbogears.expose(html="ui.myapp.templates.sidebar")
def sidebar(self):
return dict(errmsg = '')
@turbogears.expose(html="ui.myapp.templates.welcome")
def com(self, *args):
...
There are running standalone sidebar.kid and welcome.kid. Also some
changes in html to point links to right frame. I have bunch of template
pages as well, which are shown in "com" frame.
That's it.