The validated model update is a major foundation of Java Server Faces. It eases the development of complex web forms and together with JPA and Bean Validation it enforces best practices like database consistency and appropriate GUI behaviour, security etc. In JSF additional measures are necessary to skip the basic validation step, for instance in use cases with sub dialogs or wizards. This article describes, how to update the model but skip the JSF validation in dependence of which button is clicked.
Feb 29, 12