こんにちは、a4j タグと一緒に使用しています。
ここでは、ボタンのクリック後にデータベースからデータを取得しています。データはサーバーで利用できますが、オーバー ビューには表示されません。Web ページを手動で更新すると、データが表示されます。
ここにコードスニペットがあります....ここにいくつかのコード
<rich:tab id="menu5" label="Recall">
<ui:include src="/pages/mctrans/reCallMcifTrans.xhtml" />
</rich:tab>
reCallMcifTrans.xhtml には以下のコードが含まれています
<h:commandButton type="button" id="reCallbutton1" value=" Search "
styleClass="commandExButton">
<a4j:support event="onclick" id="ajsf12"
oncomplete="javascript:alert('Search Completed');javascript:document.body.style.cursor='default';"
action="#{mcifRecallTransBean.reCallSearch}" reRender="reCallgrid1" />
</h:commandButton>