Jsf 如何防止在呈现或显示弹出面板时呈现后窗口?
我遇到了一个问题,比如当弹出式面板呈现在后窗口或页面上时,调用也被呈现。如何停止后窗口的渲染。还请注意,我将JSF2.0与RichFaces4.0一起使用Jsf 如何防止在呈现或显示弹出面板时呈现后窗口?,jsf,richfaces,Jsf,Richfaces,我遇到了一个问题,比如当弹出式面板呈现在后窗口或页面上时,调用也被呈现。如何停止后窗口的渲染。还请注意,我将JSF2.0与RichFaces4.0一起使用 <h:form> <rich:panel id="propertyPanel"> <rich:messages id="propertyFormMsg"></rich:messages> <a4j:commandLink action="#{addPr
<h:form>
<rich:panel id="propertyPanel">
<rich:messages id="propertyFormMsg"></rich:messages>
<a4j:commandLink
action="#{addPropertyBean.createPropertyPreAction}"
title="Add New Property"
oncomplete="#{rich:component('savePropertyPopUp')}.show()"
render="propertyPopUpOutPutPanel"
>
<a4j:param
assignTo="#{addPropertyBean.selectedPropertyId}"
value="#{addPropertyBean.selectedPropertyId}"></a4j:param>
<h:graphicImage styleClass="imageLink" library="images"
name="add.png" />
</a4j:commandLink>
</rich:panel>
</h:form>
这是我的弹出面板:
<rich:popupPanel id="savePropertyOfferPopUp" modal="false"
resizeable="true" height="430" width="800">
<f:facet name="header">
<h:outputText value="Save Property " />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#"
onclick="#{rich:component('savePropertyPopUp')}.hide()">
<h:graphicImage styleClass="noImageBorder" library="images" width="16" height="16" name="close.png" title="close" />
</h:outputLink>
</f:facet>
<h:form id="propertyPopUpForm">
............
</h:form>
</rich:popupPanel>
............
非常感谢任何帮助我的人…在显示弹出窗口的a4j:commandLink上,添加属性:limitRender=“true”。这将限制仅呈现在render=“xxxx”列表中指定的元素。在rich:popup中使用
onclick=“{rich:component('savePropertyPopUp')}.hide();return false;”>