On Jan 17, 11:43 pm, Mike Orr <[email protected]> wrote:
> Another idea I accidentally came up with is to put utility methods in
> the base view class, which you can call as 'view.foo()'. It's neater
> than making an API object in BeforeRender, and it also allows views to
> call the exact same code if they need to sometimes.

That's a good idea.

Can the View class's instance be accessed in the events ?  It would be
nice to use both.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to