嗨,我想从h:inputText调用一个bean方法,执行该方法后需要渲染几个面板。以下是工作代码。它的调用bean方法并渲染面板。
<a4j:commandButton value="#{wm.VerifyItem}" id="commandButton"
action="#{cubiscanBackingBean.verifyItemAction}" oncomplete="onVerifyBtnClick();" styleClass="btn"
reRender="inputPanel,uomPanel,ignorePanel,DetailsPanel,errorPanel" />
我想在h:inputText字段中执行与上述相同的操作。
<h:inputText id="itoteNbrTxt"
value="#{cubiscanBackingBean.IPSDetailData.dataObject.itemName}" >
<a4j:support event="onblur"
action="#{cubiscanBackingBean.verifyItemAction}"
reRender="inputPanel,uomPanel,DetailsPanel,errorPanel" />
</h:inputText>