0 Replies Latest reply on Feb 17, 2010 3:18 PM by Sebastian

    JSF Validation - Interact with default behaviour

    Sebastian  Newbie


      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}"

      But is it possible to add this information to the returning URL so that it will be like:


      Perhaps using an navigation rule?

      It would be great if anybody could help.

      Best regards.