Hello,
does anybody know, who to interact with the default behaviour of an JSF validation error.
For example after submit of a form containing mandatory fields, the form will be redirected to it self and highlights the errors if an validation error occurs.
In the reference guide I found an hint to a variable containing the status of the validation event: validation.failed.
If the expression is true, the example shows how to execute an action.
<action execute="#{postAction.invalid}" if="#{validation.failed}"/>
But is it possible to add this information to the returning URL so that it will be like:
form.seam?validationFailed=true
Perhaps using an navigation rule?
It would be great if anybody could help.
Best regards.
Sebastian