Wednesday, 11 September 2013

How to update Primefaces components present on child window?

How to update Primefaces components present on child window?

Here is my code:
<p:commandLink actionListener="#{formBean.fillForm}"
oncomplete="window.open('#{facesContext.externalContext.requestContextPath}/forms/BP008ACT0001_fv_1.xhtml?','_blank');"
value="click"
<f:param name="stDocNo" value="#{row.get('msm006_msa001')}" />
<f:param name="stTrxNo" value="#{row.get('msm006_msa002')}" />
</p:commandLink>
I am trying to pass 'stDocNo' and 'stTrxNo' parameters to properties of
bean named formBean. These properties are then used by label components
present on 'BP008ACT0001_fv_1.xhtml' that is being opened on click of
p:commandLink. The issue that I am facing is that the labels present on
child window do not show the param values that have been passed through
<p:commandLink>.
can anybody tell me what I'm missing out here in my code?

No comments:

Post a Comment