I am actually trying to adapt my existing SEAM application to use ICEfaces.
Using the KB article I am fine so far, but encountered one annoying error.
Code:
14:00:15,062 ERROR [D2DFaceletViewHandler] Problem in renderResponse: /view/login.xhtml @33,59 test="${! empty facesContext.maximumSeverity}" /view/lo
gin.xhtml @33,59 test="${! empty facesContext.maximumSeverity}": com.icesoft.faces.context.BridgeFacesContext
com.sun.facelets.tag.TagAttributeException: /view/login.xhtml @33,59 test="${! empty facesContext.maximumSeverity}" /view/login.xhtml @33,59 test="${!
empty facesContext.maximumSeverity}": com.icesoft.faces.context.BridgeFacesContext
.
.
.
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400)
... 61 more
Caused by: java.lang.UnsupportedOperationException
at com.icesoft.faces.context.BridgeFacesContext.getMaximumSeverity(BridgeFacesContext.java:124)
... 66 more
With looking in the ICEfaces code, this is clear, cause BridgeFacesContext.getMaximumSeverity only throws a new UnsupportedOperationException.
I have used this method on nearly every page to check if there are messages or to determine if the messages are errors or just information
because the error handling with h:message and h:messages didn't fit my needs.
Is there another way to get these information?
Is there another