Re: category support for flash

2008-12-27 Thread Tycon
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

Re: category support for flash

2008-12-27 Thread Mike Orr
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

Re: category support for flash

2008-12-20 Thread Wichert Akkerman
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

Re: category support for flash

2008-12-20 Thread Wichert Akkerman
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

category support for flash

2008-12-19 Thread Wichert Akkerman
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

Re: category support for flash

2008-12-19 Thread Mike Orr
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

Re: category support for flash

2008-12-19 Thread Wichert Akkerman
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

Re: category support for flash

2008-12-19 Thread Mike Orr
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