You could implement a custom function (if using the new libraries for EL) and check if the getMessages on FacesContext has messages.
in FacesContext: public abstract java.util.Iterator getMessages() Return an Iterator over the FacesMessages that have been queued, whether or not they are associated with any specific client identifier. If no such messages have been queued, return an empty Iterator. URL: http://java.sun.com/j2ee/javaserverfaces/1.1/docs/api/javax/faces/context/Fa cesContext.html#getMessages() I am not aware of a function that would allow you to do this out of the box. If not using JSF 1.2 and/or facelets, you can use a backing bean method exposed as a property to check the value. -----Original Message----- From: Luca Conte [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 9:25 AM To: MyFaces Discussion Subject: Conditional error check Hi, does exists a way to test (possibly with jstl) if there is at least one error in the page after a form sumbit? In Struts: <c:if test="${requestScope['org.apache.struts.action.ERROR']!=null}"> ... </c:if>