0
我有這樣的Primefaces代碼,如何使用javascript將請求發送到Managed Bean?
<p:commandButton id="btnDisplay" styleClass="btn" value="Display Selected"
update="messages" style="margin:20px 0 20px 0;"
actionListener="#{jobsTree.displaySelectedMultiple}" />
我有使用javascript而不是使用到執行相同的操作h:commandbutton
像
<input type="button" />
我如何發送請求到Managed Bean的使用JavaScript?