Ins´t there a constructor public AjaxSlider(String id, Number min, Number max)
? Regards, Ernesto On Mon, Nov 14, 2011 at 10:33 AM, odin568 <[email protected]> wrote: > I finally found a solution. You were right - it's much easier by using > AjaxSlider instead of normal slider. > > Here is the code: > > AjaxSlider slider = new AjaxSlider("slider", > 0, 100); > slider.setRange(new SliderRange(true)); > //TODO: Set Slider to position again! > slider.setAjaxStopEvent(new > AjaxSlider.ISliderAjaxEvent() { > private static final long serialVersionUID > = 1L; > public void onEvent(AjaxRequestTarget > target, AjaxSlider slider, int > value, int[] values ) { > > ........................................ > } > }); > item.add(slider); > > > > > But I have one more problem: I want to initialize the Slider with a min and > max-value. Until now, min and max start with 0. I don't understand the > SliderRange constructor. I can give it beside a boolean a RangeEnum. How can > I implement that? I don't understand... > > Thanks a lot! > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Question-regarding-wiquery-Rangeslider-tp4025737p4038916.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
