Hi everyone,
JSF validators are good to protect the business logic from invalid
data, however it only caters for fatal validations (i.e. no further
processing is allowed).
However, business rules are often more complex then this, requiring the
business logic to be executed first.
Also these validations may be considered "non-fatal" i.e. they should
trigger warning
messages and mark fields but still allow for further processing.
Hence I propose the introduction of non-fatal validations, to be
processed after invoke-application.
This behaviour could be achieved in several ways:
* marking validators to be processed post invoke-application phase.
* defining a "process-warning" phase.
* add an attribute to f:validator, postponing execution.
* define a new tag f:warn.
Regards,
Stephan Knitelius