What is the correct (best) way to set a managed bean's property from a request's parameter?
The URL for my JSF page looks something like this:
https://eample.com/app/faces/page.xhtml?ts=2012-01-05T10:00:00.000
I have found that I can read the parameter using the following:
<h:outputText value="#{param['ts']}" />
But what I really need to do is set my bean's property from this value. So what is the best JSF way code this so I get something which results Java code like this:
myBean.setTimestamp(request.getParameter("timestamp"));
Many thanks