I finally figured out that I could customize the flash() css by
setting flash.static_template in my controllers.

It works great...except for when flash messages are created by the
predicates.  Unfortunately, the predicate.has_permission() function,
does not accept a real flash object, so it must be creating it
somewhere along the way with a hard-coded value.  Because of that
though, it's not picking up on the right css class.  It is probably
sending the generic 'warning' along automatically, but my css is now
looking for a class called 'attention'.

What is the suggested way for customizing the flash css?

~Sean

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to