in a task flow I have the button
<af:button id="b2" icon="/images.gif" rendered="#{not isUserReadOnly}">
<af:setPropertyListener from="#{row.Id}" to="#{pageFlowScope.Id}" type="action"/>
<af:showPopupBehavior popupId=":::pu1" triggerType="click"/>
</af:button>
and on the same jsff at the end
<af:popup childCreation="deferred" autoCancel="disabled" id="pu1">
<af:dialog id="d1" title="title" modal="true" stretchChildren="first"
dialogListener="#{backingBeanScope.SettlementBacking.onOKunsettle}" contentHeight="100"
contentWidth="220">
<af:outputText value="#{viewcontrollerBundle.text} (Id: #{pageFlowScope.Id})" id="ot11"/>
</af:dialog>
</af:popup>
Althought
String Id = AdfUtils.getPageFlowScope("Id").toString();
in my java bean, retrieves the correct Id, the popup shows only my first choice no matter that I select a different row.
Found 2 answers on the following posts