Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1294

Validation macros do not work when used in @Validate annotation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.1
    • 5.2.2
    • tapestry-core
    • None

    Description

      Validation Macros feature works perfect through template configuration, but not on the java class.

      @Validate("validation_macro_name")

      doesn't work. Placing a validator macro on the annotation renders the following exception :

      "Failure reading parameter 'validate' of component "page_name":"validation_macro_name": Unknown validator type 'validation_macro_name'. Configured validators are email, max, maxlength, min, minlength, none, regexp, required."

      Attachments

        Activity

          People

            igor.drobiazko Igor Drobiazko
            karesti Katia Aresti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: