wood burning stoves 2.0*
The moose likes JSF and the fly likes check Message already present in FacesMessage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "check Message already present in FacesMessage" Watch "check Message already present in FacesMessage" New topic
Author

check Message already present in FacesMessage

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I am using FacesMessage for writing message . my code is


But this message is added twice .I can't use clear as there are other messages.
I want to check whether a message is present for this key is not .If it is present then i can add message otherwise i leave it .
 
jQuery in Action, 2nd edition
 
subject: check Message already present in FacesMessage
 
Similar Threads
Validation for ensuring that entered value contains alphabet only
Displaying FacesMessage when a RemoteException or SOAPException occurs
FaceMessage over multiple lines
FacesMessage and ValidationMessages
How to call a Validator when the input-field is empty?