atom feed6 messages in com.googlegroups.mako-discuss[Mako] how can I pass variable from c...
FromSent OnAttachments
keni...@gmail.comAug 9, 2007 6:17 pm 
Michael BayerAug 9, 2007 8:23 pm 
keni...@gmail.comAug 10, 2007 10:09 am 
Michael BayerAug 10, 2007 11:39 am 
keni...@gmail.comAug 13, 2007 5:46 pm 
Anton V. BelyaevAug 20, 2007 8:16 am 
Subject:[Mako] how can I pass variable from child to the parent template?
From:keni...@gmail.com (keni@gmail.com)
Date:Aug 9, 2007 6:17:32 pm
List:com.googlegroups.mako-discuss

Hi all, Is there a way to pass variable from child to the parent template? I have a base.mako file that displays the site's navigation tree. I also have a profile.mako file that inherits from base.mako. I want to pass a "current_page" variable from profile.mako to base.mako so that the current page can be highlighted in the navigation tree. Is this possible?