aspose file tools*
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
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 .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: check Message already present in FacesMessage