Yes, this is ok only with pure html. But I need to pass some values to html code ($def with (parms) ... etc.) ! This is my trouble. Is it possible? Thanks
On Nov 2, 12:23 am, "Anand Chitipothu" <[EMAIL PROTECTED]> wrote: > > How can I use template.Template to compile and render html-string as > > parameter instead of filename? > > import web > t = web.template.Template(template_string) > print t() --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
