4 Replies Latest reply on Apr 13, 2007 3:37 AM by Andersun Andersun

    incorrect behaviour of rich:inputNumberSlider

    Andersun Andersun Newbie

      If we have following:

      bean.java:

      ......
      public List getMarks() {
       List marks = new ArrayList();
       marks.add(new Float(2.0));
       marks.add(new Float(3.6));
       marks.add(new Float(6.5));
       return marks;
      }
      ......


      jsp:
      ......
      <rich:inputNumberSlider value="#{marks}" step="0.1"
      minValue="0" maxValue="10" maxlength="3" />

      ......


      In result in inputNumberSlider goes values:
      2.1
      3.7
      6.6

      Anybody knows why mark values are increased by 0.1