Wednesday, December 25, 2013

ADF - setting default value for Range Slider

When using a range slider if you put minimum=0 and maximum=10000 then it will look like this :

            <af:inputRangeSlider value="#{bindings.area.inputValue}"
                                 id="irs1" autoSubmit="true" majorIncrement="-1"
                                 minorIncrement="-1" minimumIncrement="100"
                                 maximum="10000" partialTriggers="cil3" styleClass="selectField"

If you want to have the sliders pointing to 0 and 10000 then you can set the following value to the value attribute of Area in VO: 0,10000

And it will look like this when page loads:


No comments:

Post a Comment