So, I have this jsf code
<h:inputText id="serviceId"/>
<h:commandButton value="Enter" action="agreementDetail.xhtml"/>
I need to send the customer's input in the serviceId field as a f:param to the next page (agreementDetail.xhtml). So, the customer inputs the value, clicks on the "Enter" button, and the next page receives the inputted value as a parameter.