JSF check for each property

When a form is submitted, some properties pass validation, and some do not. If any of the properties does not pass the test, the model is not updated. I was wondering if it is possible to change this default behavior and the validated properties (and only them) updated with new values ​​in the model?

+3
source share
1 answer

This is not possible directly without providing yours LifeCycle. This behavior is explicitly defined in the JSF specification. Doing things differently means you are invalidating the JSF specification.

What is the rationale for this issue? If you clarify this, you can get more convenient solutions.


: . . IBM.

+3

Source: https://habr.com/ru/post/1758131/


All Articles