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

Enable form validation with reference and collection binding

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.0.2
    • 8.0.1
    • Databind 2
    • Security Level: Jean
    • None
    • ZK 8.0.2 S2
    • None

      run the attached example, and type an invalid dates.
      When clicking the validate button the ValidationContext only invalid when there is a wrong date in the first datebox. The other 2 dateboxes don't set the ValidationContext to invalid because they use reference and collection binding.
      This was not implemented yet in ZK7 and could be a useful improvement in ZK8.

        1. form-simple.zul
          1 kB
        2. Bean.java
          0.8 kB
        3. FormVM.java
          2 kB
        4. SubBean.java
          0.5 kB

            DevChu DevChu
            cor3000 cor3000
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 3 days, 3 hours
                1w 3d 3h