My app also uses CDI's Conversation Scope, which means I need to pass the cid parameter on every request or CDI will instantiate a new bean.
All my command buttons work as expected.
I'm trying to use a p:pickList now and it appears that PF isn't transmitting the cid because the UI doesn't update properly after the AJAX request is completed.
Here is a portion of the mock up:
Code: Select all
<p:ajax event="select" listener="#{sysUserRoleMembershipEdit.onSelect}"
process="@this" update="sysUserEditTabRolesOutputPanel" partialSubmit="true" >
<f:param name="cid" value="#{javax.enterprise.context.conversation.id}" />
</p:ajax>