I use PrimeFaces in my application, in which I have a data table populated with data. I also have one edit command button.
Now I would like to open a new JSF page. The action to do that is bound to a backing bean in view scope. In the action method I have access to the bean's values, but on the new JSF page I can't access any values of this bean anymore.
This is my code:
<p:commandLink title="Edit" id="editBtn" action="#{personRegisterController.selectPerson}">
<f:setPropertyActionListener value="#{person}" target="#{personRegisterController.personBean}"/>
</p:commandLink>