• Post Reply Bookmark Topic Watch Topic
  • New Topic

externalizing h:message style color in css  RSS feed

 
Ryder James
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to externalize my style for my errors. Since all errors I would like to appear red, they should use the same style reference. Am I missing something on externalizing the style for h:message?

This doesn't work:

client code: jsf/icefaces


CSS


This is working:

 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Ryder!

I didn't respond the other day since I'm not an IceFaces expert. But I recommend reading the IceFaces docs for that tag to see if errorClass is a valid option. You might only be able to use the more common "styleClass" attribute, instead.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!