I need to get parameter that is passed in URL with parameter name “ONum” and input its value in orderNum field.
<h:panelGroup>
<h:inputText id="orderNum" value="#{LoginBean.orderNum}" size="18" maxlength="17" tabindex="1" title="Order Number" disabled="#{LoginBean.disableField}"/>
</h:panelGroup>
Before doing that, I need to check for #{LoginBean.orderNum} does not return a value then get the parameter contents from ONum and display it in orderNum text input field.
If it returns a value then ignore doing this.
Please help me in doing this.
An wasy way would be to read the parameter value from the request directly and fill it in the bean.
That should be enough.