I try to pass a parameter (or even an object) to a faces flow. But all articles I found, they are passing parameters from one flow to another. I want to pass the parameter from a simple request which is starting the flow.
How can I achieve this? What is best practice?
Here is a sample:
<p:commandLink action="regularDemand">
***<!-- <f:param name="paramName" value="paramValue" /> -->***
<p:panel header="Header" style="height: 300px;">
<p:outputLabel value="Some text." />
</p:panel>
</p:commandLink>
regularDemand
is the Name
of the flow, which is called.