FacesException, then unwrap its root cause as long as it is not
an instance of FacesException.UIInput components by adding
an error style class to them.Html5RenderKit to run:HttpServletResponseWrapper wherein the ServletOutputStream has to
be replaced by a custom implementation.HttpServletResponseOutputWrapper which wraps the given response.