When a form is submitted, some properties pass validation and some don’t. If any of the properties fail validation, the model is not updated. I was wondering, is it possible to change this default behavior and have the properties that pass validation (and only them) updated with their new values in the model?
Share
It’s not directly possible without providing your own
LifeCycleimplementation. This behaviour is namely explicitly definied in the JSF specification. Doing things differently would mean that you void the JSF specification.What’s the rationale behind this question? If you elaborate that, you may get easier workable solutions.
Update: the requirement is sound. You want to autosave forms. You may find this IBM article useful then.