jsf - The value of input range is not updated on submit -


i have 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 value of sliders updated, press submit button values not written, instead values stay same initially. way cant change , save values in database.

can use onchange action somehow override initial values shown changed ones...

can tell me how actual chosen value out of components?


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -