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

There is no @LongRangeFieldValidator annotation to support LongRangeFieldValidator

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.12
    • Component/s: Core
    • Labels:
      None

      Description

      There is the LongRangeFieldValidator class which supports validating Long s but there is no a corresponding annotation to allow define the validator in the action's class.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 0314ddcb5c8badb8c216735f318fe75ffe56d6b5 in struts's branch refs/heads/master from Lukasz Lenart
        [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=0314ddc ]

        WW-4795 Implements @LongRangeFieldValidator annotation

        Show
        jira-bot ASF subversion and git services added a comment - Commit 0314ddcb5c8badb8c216735f318fe75ffe56d6b5 in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=0314ddc ] WW-4795 Implements @LongRangeFieldValidator annotation
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Struts-JDK7-master #626 (See https://builds.apache.org/job/Struts-JDK7-master/626/)
        WW-4795 Implements @LongRangeFieldValidator annotation (lukaszlenart: rev 0314ddcb5c8badb8c216735f318fe75ffe56d6b5)

        • (edit) core/src/test/java/com/opensymphony/xwork2/validator/AnnotationValidationConfigurationBuilderTest.java
        • (edit) core/src/main/java/com/opensymphony/xwork2/validator/AnnotationValidationConfigurationBuilder.java
        • (add) core/src/main/java/com/opensymphony/xwork2/validator/annotations/LongRangeFieldValidator.java
        • (edit) core/src/main/resources/com/opensymphony/xwork2/validator/validators/default.xml
        • (edit) core/src/test/resources/validators.xml
        • (edit) core/src/main/java/com/opensymphony/xwork2/validator/annotations/Validations.java
        • (edit) core/src/test/java/com/opensymphony/xwork2/validator/AnnotationValidationAction.java
        • (edit) core/src/main/resources/template/xhtml/form-close-validate.ftl
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Struts-JDK7-master #626 (See https://builds.apache.org/job/Struts-JDK7-master/626/ ) WW-4795 Implements @LongRangeFieldValidator annotation (lukaszlenart: rev 0314ddcb5c8badb8c216735f318fe75ffe56d6b5) (edit) core/src/test/java/com/opensymphony/xwork2/validator/AnnotationValidationConfigurationBuilderTest.java (edit) core/src/main/java/com/opensymphony/xwork2/validator/AnnotationValidationConfigurationBuilder.java (add) core/src/main/java/com/opensymphony/xwork2/validator/annotations/LongRangeFieldValidator.java (edit) core/src/main/resources/com/opensymphony/xwork2/validator/validators/default.xml (edit) core/src/test/resources/validators.xml (edit) core/src/main/java/com/opensymphony/xwork2/validator/annotations/Validations.java (edit) core/src/test/java/com/opensymphony/xwork2/validator/AnnotationValidationAction.java (edit) core/src/main/resources/template/xhtml/form-close-validate.ftl

          People

          • Assignee:
            lukaszlenart Lukasz Lenart
            Reporter:
            lukaszlenart Lukasz Lenart
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development