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

Spinner no longer supports null value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.2
    • 6.5.0, 5.0.12
    • Components

      Spinner no longer supports null values. For example:

      <zk>
      <spinner id="spinner" />
      <zscript>
      <![CDATA[
      spinner.setValue(null);
      spinner.intValue();
      ]]>
      </zscript>
      </zk>

      In this case WrongValueException is thrown, however zero should be returned as Spinner.intValue() javadoc states: "Returns the value in int. If null, zero is returned."

            jumperchen jumperchen
            gediminas gediminas
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: