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

Get to the component of validation message from code

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.1
    • 6.5.4
    • Databind 2
    • Security Level: Jimmy
    • ZK 8.0.1 S1
    • None

      We would like to get to the components that sits behind messages that failed validation.

      In ValidationMessage interface there is no API for that.

      What we expect is e.g. that we can get a list of Message class (currently it is internal to ValidationMessagesImpl), which exposes access to 'Component'.

      Currently we do a reflection call to internal fields of ValidationMessagesImpl, but it is really fragile and breaks with every ZK version, which is understandable.

      It would be good to get this in 6.5.x branch not only 7

            jumperchen jumperchen
            kretes kretes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m