I have some rangesliders like:
<h:form>
<input name="range1" id="range1" min="0" max="5" value="#{prefProfileBean.pref1}" type="range"/>
<input name="range2" id="range2" min="0" max="5" value="#{prefProfileBean.pref2}" type="range" />
...
<p:commandButton value="Profil speichern" onclick="PF('updprofile').show();" action="#{prefProfileBean.submit}" />
in View the value of the sliders is updated, but as i press submit button the values are not written, instead the values stay the same as they was initially. that way i cant change and save the values in database.
can i use the onchange action somehow to override the initial values with the shown changed ones...
can someone tell me how to get the actual chosen value out of this components?