On Actions like CommandButton, CommandLink,.. you can allow them to set value before navigating to another page by using <af:setActionListener>
Example:
<af:commandLink text="#{row.formattedName}" id="cl1" action="toSavePage">
<af:setActionListener from="phoneNumber" to="#{pageFlowScope.phoneNum}"/>
<af:setActionListener from="#{row.empId}" to="#{pageFlowScope.selectedEmployeeId}"/>
</af:commandLink>
No comments:
Post a Comment