【发布时间】:2014-02-28 06:14:23
【问题描述】:
我正在使用包含搜索条件和搜索结果的富面孔弹出面板。我需要在单击搜索按钮时呈现搜索结果。我正在使用<a4j:commandButton> 搜索按钮,单击该按钮时不会呈现结果。
<a4j:commandButton id="popupSearchButton" action="#{riskAreaSearchBean.search}"
styleClass="saveAsDraft" immediate="true" execute="areaPopupSearch"
value="#{riskLabel['customs.common.search']}" render="addAreaPopupPanel" />
“addAreaPopupPanel”是我的弹出面板ID
【问题讨论】:
-
尝试不使用
immediate="true" execute="areaPopupSearch"。如果有效,请添加其中之一并检查结果。