• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FacesMessages

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am using FacesMessages which are working fine for error, warning, info so i am having differnt style class for all these.

My problem is in my application i have messages for filter, for this messages i want to use diffent styleclass. But i am unable to identify the type of message.

Is there any way to identify the type of message other than error , info, warning if yes how can i apply differnt styleclass to it?


<t:div id="ice_index_message_body" styleClass="ice_index_message_body" rendered="#{countryindex.facesMessage}">
<t:messages errorClass="ice_msg_error" infoClass="ice_msg_success" warnClass="ice_msg_alert" globalOnly="true" layout="list" />
</t:div>
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic