Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1012

Support JSR-303 complex validation

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.0.0, Freshly
    • Databind 2

      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?

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

              Created:
              Updated: