0
我試圖提交表單用下面的代碼,但它不填充字段在bean:JSF h:CommandButton不適用於f:ajax?
//input above
<h:commandButton actionListener="#{transferenciaVagaBean.search()}" value="Search">
<f:ajax render="@form"/>
</h:commandButton>
Althoug,如果我改變了組件:
//input above
<a4j:commandButton actionListener="#{transferenciaVagaBean.search()}"
value="Search"
render="@form" />
它的工作原理完善。我用h:commandButton做錯了什麼?
我試圖從actionListener
更改爲action
,因爲我在此之前遇到過問題,但它不能以h:commandButton
的任何方式工作。
OMG。那很簡單。謝謝! – Migore 2013-03-27 22:41:26