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

ZK 7 checkbox, cannot set to "is checked" after setChecked(false)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.1
    • 7.0.0
    • Components, ZHTML
    • None

      my code was from ZK 6.5.3, it was working fine, and now I upgraded to ZK 7.0.0, I have this issue

      I have <checkbox id="testBox" /> at .zul file

      and Checkbox testBox; at the java controllor class, and which is autowired.

      and I found out that, after run once testBox.setChecked(false);
      and then run testBox.setChecked(true);

      the check at the zul page would not checked in UI, but it is "true" at testBox.isChecked();

      but if I run testBox.setChecked(true); first and then testBox.setChecked(false);, I do not have this problem.

      I checked the source at github Checkbox.java did not update like 8 months ago, that should be problem at somewhere else?

      Regards,

            danchen0720 danchen0720
            atkinson atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: