Tapestry 5
  1. Tapestry 5
  2. TAP5-1294

Validation macros do not work when used in @Validate annotation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.2.2
    • Component/s: tapestry-core
    • Labels:
      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."

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        2d 20h 12m 1 Igor Drobiazko 06/Oct/10 15:58
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #204 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/204/)
        TAP5-1294: Validation macros do not work when used in @Validate annotation

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #204 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/204/ ) TAP5-1294 : Validation macros do not work when used in @Validate annotation
        Igor Drobiazko made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.2.2 [ 12315376 ]
        Resolution Fixed [ 1 ]
        Igor Drobiazko made changes -
        Summary Validation macros : @Validate annotation renders an exception Validation macros do not work when used in @Validate annotation
        Affects Version/s 5.2.1 [ 12315230 ]
        Affects Version/s 5.2 [ 12313900 ]
        Igor Drobiazko made changes -
        Field Original Value New Value
        Assignee Igor Drobiazko [ igor.drobiazko ]
        Katia Aresti created issue -

          People

          • Assignee:
            Igor Drobiazko
            Reporter:
            Katia Aresti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development