I'm trying to display a generic error message at the top of my page when validation fails such as "Please correct the errors indicated below". As I understand it the following code should do what I want:

Code:
<div id="messagesInsertionPoint">
  <h:outputText value="Please correct the errors indicated below"
		rendered="#{not empty facesContext.maximumSeverity}" />
</div>
This isn't working for me though. I'm logging the value of facesContext.maximumSeverity in a PhaseListener and it's coming out in the console as ERROR 2 so this is definitely set.

I've included an <h:messages> tag and the messages are being displayed there.

On the page I have tried

Code:
#{facesContext} fc
#{facesContext.maximumSeverity} fc max sev
#{flowFacesContext} ffc
#{flowFacesContext.maximumSeverity} ffc max sev
And this gets rendered as:

Code:
org.springframework.faces.webflow.FlowFacesContext@12bba4f fc fc max sev ffc ffc max sev
So it looks to me that I should definitely be using facesContext.maximumSeverity but for some reason it's not being set correctly onto the flowFacesContext

I've noticed that a JIRA SWF-856 exists for this same issue but it was supposedly fixed in SWF 2.0.6 and I'm using 2.1.1

Is this fix definitely in version 2.1.1? I can't see any reference to it in the changelog.

If it is in 2.1.1, can anyone tell me where I might be going wrong here?

Thanks in advance