0 Replies Latest reply on Dec 16, 2011 7:57 AM by jadtn

    Sample to test inputNumberSlider with Richfaces4

    jadtn

      Hi,

       

      Actually it's not possible to use jsfclient.setValue(inputId, value) to set value in inputNumberSlider because this input has no id. while waiting for https://issues.jboss.org/browse/RF-11817), this code works to test it.

       

      Adrien

       

       

      {code}

       

                          HtmlPage  page = (HtmlPage) client.getContentPage();

                          HtmlForm form = page.getFormByName("formid");

                          HtmlInput sliderInput = form.getInputByName("sliderid");

                          sliderInput.setValueAttribute("55");

       

      {code}