The default layout.html includes:
<div class="flash">{{=response.flash or ''}}</div>and there is some CSS that controls how it looks, and some code in web2py_ajax.js controlling its display. You could add some code there, or in the controller that generates the response.flash. Anthony On Monday, December 5, 2011 12:56:39 PM UTC-5, Constantine Vasil wrote: > > OK but I want to intercept it before actual flash is done, I want to > format my flash code on the layout.html before flash to appear.

