Brent
Thanks
this works
but there a lot of templates that we alredy have in like 100s i think
Would it be possible to set a default NameMapper
Thanks
On Fri, Mar 20, 2009 at 8:37 AM, Brent Pedersen <[email protected]> wrote:

>
> instead of sending in your variables directly, you can put them all in a
> dict:
>    render.index(d=dict(name=name))
>
> then use d.get('name, '')
>
> in the template.
>
> On Fri, Mar 20, 2009 at 2:31 AM,  <[email protected]> wrote:
> >
> >
> > is it possible to  not throw exceptions if undefined variables are
> accessed
> > in cheetah
> >
> > >
> >
>
> >
>


-- 
BidEgg - Worlds best low price Auction site
http://bidegg.com

BidEgg - Worlds best low price Auction site

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

Reply via email to