i m trying to use
pop_magic.html
#def $onenews()
some html
#end def

newspage.html
 #include pop_magic.html
$onenews()


i m getting
<class 'NameMapper.NotFound'> at /
cannot find 'onenews'

also i dont want to specify each argument
can i do somehting like
$onenews(vars=locals())
and it ll send current context to the funciton onenews()

How does webpy do vars=locals()
thanks a lot

--~--~---------~--~----~------------~-------~--~----~
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