Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13812

rich:validator misunderstands EL expressions inside Bean Validation 1.1

    Details

      Description

      rich:validator resolves an EL expression within Bean Validation not correctly.
      E.g. the wrong error message:

      The email address [\w.%-]+@[\w.%-]+\.[A-Za-z]{2,4} is invalid.
      

      is produced when the message for Bean Validation is:

      The email address {{${validatedValue}}} is invalid.
      

      However, ${validatedValue} is replaced by the regular expression for an email, and not replaced by the Input value being validated.
      I'll attach a screenshot to illustrate the Problem.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                juergen.zimmermann Juergen Zimmermann
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: