Support JSR-303 complex validation

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: 6.0.0, Freshly
    • Component/s: Databind 2
    • None

      Composite type annotations are not fired when validating the bean.
      Neither in beanValidator nor in formBeanValidator.

      @FromTo(from = "from", to = "to")
      public class ValidationBean {
      private Date from, to; // from must be before to
      ...
      }

      I'm attaching the sample project.

      Q1) Why the FromTo validation is not fired by beanValidator or formBeanValidator?
      Q2) Even if it is, how would I get the error message from msgs?

            Assignee:
            dennis
            Reporter:
            mixgho
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: