I believe you can build your template in Python, and then just pass the
resulting string to the widget as the template parameter, either when
you instantiate the widget or when you display it.

You can also pass the template parameter a callable that returns your
template string, and the callable will run at display time to generate
your template.

Yeah, I've never done it.  But template is just like any other widget
parameter, as far as I can tell.


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

Reply via email to