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

Spinner no longer supports null value

    XMLWordPrintable

Details

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

    Description

      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."

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: