• Post Reply Bookmark Topic Watch Topic
  • New Topic

FacesMessages

 
Tushar Kherde
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • 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>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!