This content has been marked as final.
Show 3 replies
-
1. Re: a4j:param doesn't work with rich:componentControl correctly
michpetrov Sep 12, 2014 3:15 AM (in response to alvin.dickson)That might have something to do with the way h:commandLink works, can you try it with a4j:commandLink?
-
2. Re: a4j:param doesn't work with rich:componentControl correctly
bluez974 Sep 12, 2014 3:55 AM (in response to alvin.dickson)Hello,
i would use render and oncomplete attributes as you need the assigned value in your confirmDialog
<a4j:commandLink class="pagado" rendered="#{rescateChk.proEstado eq 'S'}" render="confirmDialog" > Pagado <a4j:param value="#{rescateChk.noCheque}" assignTo="{ejecutivos.currentNumCheque}" /> <rich:componentControl event="complete" target="confirmDialog" operation="show" /> </a4j:commandLink>
or equivalent :
<a4j:commandLink class="pagado" rendered="#{rescateChk.proEstado eq 'S'}" render="confirmDialog" oncomplete="#{rich:component('confirmDialog')}.show()" > Pagado <a4j:param value="#{rescateChk.noCheque}" assignTo="{ejecutivos.currentNumCheque}" /> </a4j:commandLink>
In that case you could use f:setPropertyActionListener instead of a4j:param.
I hope it helps.
-
3. Re: a4j:param doesn't work with rich:componentControl correctly
alvin.dickson Sep 12, 2014 3:57 PM (in response to bluez974)Thanks its work!! using f:setPropertyActionListener