Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3395

Client Validation don't display Global Messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8.1
    • 2.2.3
    • Other

    Description

      When I define a Validation like this:

      @Validations(requiredStrings = {
      @RequiredStringValidator(fieldName = "loginuser", type = ValidatorType.FIELD, message = "Login User is required"),
      @RequiredStringValidator(fieldName = "loginpassword", type = ValidatorType.FIELD, message = "Password is required")
      }, expressions = {
      @ExpressionValidator(expression = "loginpassword.trim().equals('test') == true", message = "Password must be test."),
      })

      The Form with XHTML Theme only display the RequiredString Messages but not the Expression Message.

      Attachments

        Activity

          People

            jogep Johannes Geppert
            jogep Johannes Geppert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: