diff --git a/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java b/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java index 0e2ad221..9b7c5880 100644 --- a/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java +++ b/spring-faces/src/main/java/org/springframework/faces/webflow/JsfViewFactory.java @@ -163,7 +163,9 @@ public class JsfViewFactory implements ViewFactory { * @param component */ private void processTree(FacesContext context, UIComponent component) { - if (component instanceof EditableValueHolder) { + // Only resetting the valid flag in the RESTORE_VIEW phase, + // not during RENDER_RESPONSE + if (!context.getRenderResponse() && component instanceof EditableValueHolder) { ((EditableValueHolder) component).setValid(true); } ValueBinding binding = component.getValueBinding("binding");