We are pleased to announce a new addition to our collection of free enhancements for Servoy: the Slider-Bean. The Slider-Bean is a “Servoy ready” JSlider (as delivered by Servoy). It allows you to
assign a display dataprovider that sets the value of the slider according to the value of the given dataprovider automatically (without the need of an onRecordSelection method)
assign a return dataprovider that allows the bean to set the value in the underlaying record if the user moves the slider to a different value
assign a method that is called whenever the user changes the value of the slider
So you can easily “live hook up” the bean to a Servoy form. Here is a screenshot of the bean:
The bean is free but it requires a registration key. You can obtain a key by clicking the “GET IT” button in the shop on our website.
Hi Patrick,
I’m trying to use your slider. Everything is OK until I try to save the new value. Unfortunately, I don’t see an onChange event on the slider, so the only thing I could do was to catch the on-hide event on the parent form.
I’m using the slider in a Solution Model and I have many possible sliders on the same form, along side with other elements.
Catching the on-hide event and then parsing the elements, looking for all sliders and saving the new values is not so nice as compared with an onChange event or a dataprovider connected to the slider.
Is there any way I could implement this nicer or easier?