我正在使用弹出窗口传递一些值,但看起来目标没有触发。
这是按钮:
<p:column headerText="View" style="text-align: center;" width="80">
<p:commandButton update=":dialogueForm:uploadHistory" value="View"
oncomplete="PF('historyDialog').show()" icon="ui-icon-search"
title="View">
<f:setPropertyActionListener value="#{as}"
target="#{remoteDeployment.selectedTerminalRemoteDeploymentSettings}" />
</p:commandButton>
</p:column>
这是对话框:
<p:dialog id="dlg" header="History" widgetVar="historyDialog"
showEffect="explode">
<h:form id="dialogueForm">
<p:outputPanel id="uploadHistory" style="text-align:center;">
<p:panelGrid columns="2"
rendered="#{not empty remoteDeployment.selectedTerminalRemoteDeploymentSettings}"
columnClasses="label,value">
<h:outputText value="Branch Name:" />
<p:inputText
value="#{remoteDeployment.selectedTerminalRemoteDeploymentSettings.terminalId}" />
</p:panelGrid>
</p:outputPanel>
</h:form>
</p:dialog>
selectedTerminalRemoteDeploymentSettings始终为空。 请帮忙。