Slider demo

Description
This example shows a Slider component with imposed values to choose, chosen from an interval.
The min and max values have been specified.
Notice the interval, min and max attributes.


In Action
0
Submitted value : 0.0



TML Source code

		<t:form>
			<ex:slider t:id="slider" value="sliderValue" min="0" max="10" interval="0.1"/>
	
			<t:submit/>
		</t:form>
		Submitted value : ${sliderValue}<br/>
	



Java code

    @Property
    @Persist
    private float sliderValue;