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

Client Validation don't display Global Messages

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.8.1
    • Fix Version/s: 2.2.3
    • Component/s: Other
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: