A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
check Message already present in FacesMessage
Joined: Jul 19, 2006
Dec 01, 2008 03:20:00
I am using
for writing message . my code is
facesMessages.addFromResourceBundle( FacesMessage.SEVERITY_ERROR, "error.msg.myaction.message");
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:
subject: check Message already present in FacesMessage
Displaying FacesMessage when a RemoteException or SOAPException occurs
FaceMessage over multiple lines
How to call a Validator when the input-field is empty?
Validation for ensuring that entered value contains alphabet only
FacesMessage and ValidationMessages
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013