Hi Ferran, It isn't currently possible to yield within a template. When dealing with a template, it essentially renders as one big string, and then is returned by your GET or POST method.
It would be possible to create several smaller templates, and yield the results of them as the page loads if you're concerned about size. Good luck, Justin On Jul 29, 5:47 am, Ferran Fontcuberta <[email protected]> wrote: > Hello all, > > I was testing an script which is sending mails and returning > > "mail sent to [email protected]" > > kind of message; but now i want to "dress it" like the rest of my > website; it is possible to pass a generator to a template var or i need > to use something like background? :( > > Thank you and sorry for my n00b questions! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
