Grabbing an HTML value with JSF
- by user560785
Hi everyone! I have a javascript that edits a hidden field in my jsf page:
<h:inputHidden id="data" value="" />
and when I click on "Submit" I would like to get the new value of this HTML field that was modified by the javascript. I've looked into
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("data");
But that seems only to work if it is passed in as an <f:param/>. Is there a way i can get the value through a bean call?