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

Get to the component of validation message from code

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.4
    • Fix Version/s: 8.0.1
    • Component/s: Databind 2
    • Security Level: Jimmy
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 8.0.1 S1

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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