On 12/18/05, Alvin Wang <[EMAIL PROTECTED]> wrote:
>
> I looked at it.  The way the templates are generated is different for
> widgets and pages.  I was not able to resolve the differences.  KID
> templates work.  They just do not the same as TG templates.
>
> KID templates work well enough for my purposes.  I am going to give up
> on figuring out TG Templates.

Hmm... TG templates *are* Kid templates. (In fact, there's no such
thing as a "TG Template" really). All TurboGears does is provide some
code for easily referring to a template by python package name,
loading it and sending it some variables for rendering. Check out how
view.lookup_template (or whatever the exact name is) works. It returns
the template module, I believe (with the Template class inside).

Kevin

Reply via email to