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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.1
    • Component/s: Components, ZHTML
    • Labels:

      Description

      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,

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: