> 2) To display the flash, tg.get_flash() should be called in master.html. > The tg namespace should be imported so this is available. A patch won't > hurt :)
This seems to be working. =) Here is the change I made to master.html, dunno if this is how it should be done. I figured we want to keep the template api the same right? <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> <?python import tg tg_flash = tg.get_flash() ?> <head py:match="head" py:attrs="select('@*')"> etc Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
