A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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
FacesMessage and ValidationMessages
Displaying FacesMessage when a RemoteException or SOAPException occurs
How to call a Validator when the input-field is empty?
FaceMessage over multiple lines
Validation for ensuring that entered value contains alphabet only
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015