How does one retrieve a html view without including the layout?
e.g. In my controller:
outstr = response.render('item.html',dict(myvar=myvar))
My view item.html is:
This is my variable: {{=myvar}}
Note the view does not {{extend layout.html}}.
However 'outstr' still ends up containing the layout. I eventually saw
the source of globals.render, but I think I need something else.
--David
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en.