class inh:
    def GET(self):
        base = web.render('base.tmpl', base='base')
        return web.render('subclass.html')

render(template, terms=None, asTemplate=False, base=None, isString=False,
filter
=<class 'Cheetah.Filters.EncodeUnicode'>)
    Renders a template, caching where it can.



    If the template is a potential base template (that is, something other
templ
ates)
    can extend, then base should be a string with the name of the template.
The
    template will be cached and made available for future calls to `render`.

Why does this not work?

On 5/22/09, paul jobs <[email protected]> wrote:
>
> Hey guys
> I m trying to figure out how to Precompile cheetah base templates
> and get Cheetah inheritance workin in webpy
> ie the basic mechanics
>
> Please share the basic boiler plate or base code to get started
>
> Thanks
> Paul
>



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

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