I would like to nest multiple setPropertyActionListener‘s in my commandLink but only one works. How do you attempt this? This command link sets properties and then opens a dialog so its basically initializing the dialog.
How is this accomplished?
<p:commandLink update=":dreamWebSearchFrm" value="#{bundle['dreamModify.search.link.TEXT']}" oncomplete="webSearchDlg.show()">
<f:setPropertyActionListener value="false" target="#{dreamSearchBean.shouldRender}"/>
<f:setPropertyActionListener value="true" target="#{dreamSearchBean.shouldRender1}"/>
</p:commandLink>
You could make use of EL parameters and call a single method on your bean. From that method, update whatever you want.
e.g.
In your bean: