私はprimefaces mobile(0.9.2 - jsf2)で作業していますが、奇妙な問題があります。追加するボタンと注文を保存するボタンの 2 つのボタンがあるビューがあります。追加ボタンは正常に機能しますが、保存ボタンをクリックすると、保存メソッドを呼び出す代わりに、最初にメソッド add に移動し、その後に保存メソッドに移動します。誰にもヒントがありますか?ありがとうございました..
...<div class="field-input" >
<p:commandButton action="#{pedidoMobileBean.adicionaProduto()}" id="pcbAdd" value="Adicionar" update="hpgItens hpgTotais hpgTipoBonificacao" icon="plus" iconPos="left" ></p:commandButton>
</div>
<div class="label-input"></div>
<div class="field-input">
<p:commandButton action="#{pedidoMobileBean.salvar()}" ajax="true" id="pcbSave" value="Salvar" update="hpgPedidoV3 :Form:hpgPedidoV1" ></p:commandButton>
</div>...