java<rich:popupanel按钮在JSF项目中不起作用
在我的JSF+Spring项目中,我尝试添加表单并从弹出窗口获取值。但当点击按钮时,没有调试点进入相关控制器&;功能也不起作用。 这是我的照片。xhtml文件
请参考,并建议我解决这个问题
谢谢大家
<h:outputLink value="#" id="ll">
<rich:componentControl event="click" operation="show" target="lp">
<a4j:param name="event" value="event" noEscape="true" />
<rich:hashParam>
<a4j:param noEscape="true" name="top" value="200" />
<a4j:param noEscape="true" name="left" value="200" />
</rich:hashParam>
</rich:componentControl>
Tag SAM
</h:outputLink>
<rich:popupPanel id="lp" modal="false" height="300" width="500" autosized="false" resizeable="true">
<f:facet name="header">
<h:outputText value="SAM Selector" />
</f:facet>
<a4j:commandButton value="Load SAM" action="#{pOSController.loadSamPosTagging()}" render=" #{rich:clientId('dataTableSamView')}" />
<a4j:commandButton value="Save Tagging" action="#{pOSController.saveSamPosTagging()}" render=" #{rich:clientId('dataTableSamView')}" />
<rich:dataTable style="width:80%;" rows="10" value="#{pOSController.selectedSamBeans}" var="samView" id="dataTableSamView">
<rich:column style="height:25px;">
<f:facet name="header" />
<h:selectBooleanCheckbox value="#{samView.selected}">
<f:selectItem itemValue="true" itemLabel="" />
<a4j:ajax immediate="true" execute="@this" />
</h:selectBooleanCheckbox>
</rich:column>
<rich:column>
<f:facet name="header">SAM UID</f:facet>
<h:outputText value="#{samView.samUid}" />
</rich:column>
<rich:column>
<f:facet name="header">SAM DID</f:facet>
<h:outputText value="#{samView.samDid}" />
</rich:column>
<rich:column>
<f:facet name="header">Expire Date</f:facet>
<h:outputText value="#{samView.expireDate}" />
</rich:column>
<rich:column>
<f:facet name="header">Status</f:facet>
<h:outputText value="#{samView.status}" />
</rich:column>
</rich:dataTable>
<h:outputLink onclick="#{rich:component('lp')}.hide(event); return false;" value="#">SAM Tag</h:outputLink>
</rich:popupPanel>
<!-- ###################################################### Custom POPUP_PANEL ################################################################ -->
</rich:column>
</rich:dataTable>
请参考我在github中添加的代码的链接 GITHUB LINK - Click here
# 1 楼答案
@VasilLukach
谢谢亲爱的朋友。我的父页面的datatable出现问题
现在我添加了与它们分离的弹出窗口
现在它成功了
谢谢大家