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

SimpleConstraint problem using its int constructor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 8.6.0.1
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      OS: Windows 7 64 bit SP1
      Browser: Google Chrome 71.0.3578.98
      ZK: 8.6.0.1

      Description

      I'm migrating from zk 7.0.8.1 to 8.6.0.1 and I'm facing a problem with SimpleConstraint.
      Unlike zk7 version, there is a problem instantiating a SimpleConstraint using its int constructor.
      For example, I want a "no empty" constraint in a datebox.
      If I create it in this way everything works fine --> constraintByString = new SimpleConstraint("no empty");
      But if I create it in this way it doesn't work --> constraintByFlag = new SimpleConstraint(256);
      See attachments for a simple example.

      1. test.zul
        0.9 kB
        filippoluchini
      2. TestViewModel.java
        1 kB
        filippoluchini

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              filippoluchini filippoluchini
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: