Thanks for your input. I can get by with a simple styleClass on the message tag. They'll all look the same, but it's good enough for now. Should I submit a JIRA for this, so it doesn't get lost?
-----Original Message----- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 12:43 PM To: [email protected] Subject: Re: Styling messages differently by severity Dan, The skinning system supports this but the components in Trinidad do not. We'll need to enhance the components to add the appropriate style based on message type to the component. The tricky part is this wouldn't get updated unless the component was part of your partial target. I'm a bit busy at the moment, but I could look at adding this functionality for you at some point. It's just not going to be in the near future. If there are any volunteers to do this work, I can direct you on what needs to be done. Scott Daniel Hannum wrote: > Hi, I'd like to style my message component differently based on the > severity of the messages being displayed. I see selectors to control the > icons for each severity, but not the inline styling. I want to make all > the errors red and bold and all the infos something else, but I don't > see how. > > > > I can think of hacks where I make multiple message components with > different styleClasses and restrict each to display one kind of message, > but that's ugly. What's the right way? > > > > Thanks > > Dan > > >
