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

WrongValueException when deleting value in doublespinner

    XMLWordPrintable

Details

    Description

      When deleting a value previously entered in doublespinner, Doublespinner.getTargetValue() throws WrongValueException.
      Guess null values should be accepted.

      public class DoubleSpinnerVM {
      	private Double doubleValue;
      
      	public Double getDoubleValue() {
      		return doubleValue;
      	}
      
      	public void setDoubleValue(Double doubleValue) {
      		this.doubleValue = doubleValue;
      	}
      }
      
      <window apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('DoubleSpinnerVM')">
      	<doublespinner value="@bind(vm.doubleValue)" />
      </window>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              benedetti benedetti
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: