Andrey Lebedev wrote: > In current turbogears trunk turbogears.flash() function works a bit > inconsistently: flash message is displayed only on next request after a > message was set. This is because flash message is implemented via > cookies and cookie is not accessible on the same request (before it is > sent to client). > > There is an easy solution to the problem: flash message could be stored > somewhere in cherrypy.request in addition to cookie. This way > turbogears could discover and display flash during the same request > processing. > > What do you think about it? Would you accept a patch implementing a > solution? > > Related thread I've found: > http://groups.google.com/group/turbogears/browse_thread/thread/8110f0f35c657834/4d7199c27e3ad011
I see no problem with it. Patches (especially ones with tests) gratefully accepted! Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
