This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: check Message already present in FacesMessage