0 Replies Latest reply: Dec 16, 2011 7:57 AM by Adrien Adrien RSS

Sample to test inputNumberSlider with Richfaces4

Adrien Adrien Apprentice



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.





                    HtmlPage  page = (HtmlPage) client.getContentPage();
                    HtmlForm form = page.getFormByName("formid");
                    HtmlInput sliderInput = form.getInputByName("sliderid");