primefaces - p:confirmDialog message not refreshed after f:setPropertyActionListener -


i have datatable , on each row there commandlink. on click of commandlink set row object property of baking bean using f:setpropertyactionlistener tag.

when debut can see setter of property has been called , correct value getting passed. on commandlink oncomplete have call open confirmdialog, shows values selected row user before confirming action.

the problem confirmdialog not showing latest value selected.

<p:commandlink id="divadj"                 styleclass="commandlink"                 value="confirm"                 oncomplete="confirmation.show()"                 update="@form"                 process="@this">     <f:setpropertyactionlistener target="#{corporateactionbean.selectedcarecord}"                                  value="#{dividendrecord}"/> </p:commandlink>   <p:confirmdialog id="confirmdialog"                   header="confirm corporate action #{corporateactionbean.selectedcarecord.umcatype}" severity="alert" widgetvar="confirmation">               

do have dialog in same <h:form> element? looks update="@form" attribute causing problem. try put table , dialog in same form , set update="confirmdialog".


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -