Sure. I even have a totally different design for mine. I made it fade in instead, and I had it use an entire block. I did that with the jquery calls in the web_ajax.html file in the view section. Then I set the area in my layout.html. Basically, take the old flash area text and cut and past it where you want it. >From there you start creating some css to go with it. If you need more details I can share it with you. I should probably at it to the wiki at that point. BR Jason
On Wed, 2009-04-15 at 19:13 -0700, Iceberg wrote: > Currently I think most of us use response.flash as a resort to give > all kinds of feedback. For example: > > def foo(): > form=SQLFORM(...) > if form.accepts(...): > if there_is_some_minor_issue: > response.flash='Warning: your input is unusual, but anyway the > data is accepted' > else: > response.flash='ok, data is accepted' > if form.errors: > response.flash='Something is wrong' > > Now all flash message show up in an orange bar. Can we have some > extended flash to be shown in different color? For example, > response.flash_warn shows in yellow bar > response.flash_info shows in light green bar > response.flash_error shows in orange or even red bar > > Perhaps session.flash should also support this proposal too? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

