Slider demo

Description
This example shows a Slider component that displays its value in a custom element.
Notice here the displayId attribute.


In Action
You are about to select the value , just press submit.
Submitted value : 0



TML Source code

		You are about to select the value <span id="sliderCurrent"> </span>, just press submit.<br/>
		<t:form>
			<ex:slider t:id="slider" value="sliderValue" min="0" max="10" displayId="sliderCurrent"/>
	
			<t:submit/>
		</t:form>
		Submitted value : ${sliderValue}<br/>
	



Java code

    @Property
    @Persist
    private int sliderValue;