hihi all,
i can't seem to find out how to do something like the following:
<c:if test="#{ <code to test if certain message exists at certain severity > }" > Hello! </c:if>
basically, i want to render some html code based on whether there is a specific severity level message available.
i added the message in my action class using code like the following:
FacesMessages.instance().addToControl("myComponentId", StatusMessage.Severity.ERROR, "Error!! >_<");
thanks,
-v
Hi,
You can get messages from here: javax.faces.context.FacesContext.getMessages(String)