On Apr16, 3:05pm, Fran <francisb...@googlemail.com> wrote:
> On Apr 16, 3:13 am, Iceberg <iceb...@21cn.com> wrote:
>
> > Currently I think most of us use response.flash as a resort to give
> > all kinds of feedback.
>
> I have this in my model:
>
> def shn_sessions(f):
>     ...
>
> My layout.html contains:
> ...
>
> My CSS:
> ...
>

Glad to have Fran and Jason's feedback. Fran's example is more
intuitive, although he forgot to mention similar modification is
needed in web2py_ajax.html, by the way I use the name response.info
instead of response.confirmation.

To Massimo: I tried to apply above modifications into applications/
welcome, but even so, I still can't get an info/warning/error -aware
empty app when I "create new application" in app admin. I think I miss
something. And I still suggest to include this tiny but generally
useful adjustment into the default scaffold app. Do you think so?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to