7 messages in com.googlegroups.pylons-discussRe: How are c/h/etc provided to templ...
FromSent OnAttachments
Jonathan Vanasco24 Jun 2008 07:24 
Isaac Csandl24 Jun 2008 18:04 
Shannon -jj Behrens24 Jun 2008 18:42 
Jonathan Vanasco24 Jun 2008 19:06 
Jonathan Vanasco24 Jun 2008 20:32 
Isaac Csandl25 Jun 2008 10:06 
Brian Rue26 Jun 2008 02:26 
Subject:Re: How are c/h/etc provided to templates?
From:Isaac Csandl (nerk@gmail.com)
Date:06/25/2008 10:06:52 AM
List:com.googlegroups.pylons-discuss

On Jun 24, 10:33 pm, Jonathan Vanasco <jvan@gmail.com> wrote:

wait, i'm looking at this again...

i'm not seeing any way to push custom vars into the render function outside of monkeypatching or doing something to render

Correct. I don't think there's a (sane) way to do that from BaseController, hence my earlier suggestion. If you can live with your objects being under 'c', then this is the place. Otherwise, you roll your own render function, being sure to include c and h. (correct me if I'm wrong, but I'm pretty sure those are the only reasonable options)