useful to have flash/status messages of several
different types, for example to be able to differentiate between
informational messages, warnings and errors. To do that I made
a simple extension to WebHelpers to add category support to its
Flash class. The change is completely backwards compatible
On Sat, Dec 27, 2008 at 4:53 PM, Tycon adie...@gmail.com wrote:
The webhelpers.pylonslib.Flash class is kind of poor. It's a bad idea
to flash
a message about a previous operation after redirecting to an unrelated
page.
Yes, very opinionated. Why don't you join the
that I made
a simple extension to WebHelpers to add category support to its
Flash class. The change is completely backwards compatible, so if
you do not need categories you will never notice them.
Patch attached.
Opened a ticket for it.
http://pylonshq.com/project/pylonshq/ticket/551
Previously Mike Orr wrote:
If you could write a little howto about using it with Ajax and styling
different categories, I'm sure it would help a fair number of people.
I didn't see a login for that trac, so I'll post it here:
Implementation example
==
Lets show a
Often it is very useful to have flash/status messages of several
different types, for example to be able to differentiate between
informational messages, warnings and errors. To do that I made
a simple extension to WebHelpers to add category support to its
Flash class. The change is completely
to WebHelpers to add category support to its
Flash class. The change is completely backwards compatible, so if
you do not need categories you will never notice them.
What kind of template do you use to display this? Do you display all
categories in the same place or in different places?
I have
that I made
a simple extension to WebHelpers to add category support to its
Flash class. The change is completely backwards compatible, so if
you do not need categories you will never notice them.
What kind of template do you use to display this? Do you display all
categories in the same
to WebHelpers to add category support to its
Flash class. The change is completely backwards compatible, so if
you do not need categories you will never notice them.
Patch attached.
Opened a ticket for it.
http://pylonshq.com/project/pylonshq/ticket/551
As soon as 0.9.7 is out I can put