commandLinkとcommandButtonのアクションは同じです。ただし、commandLinkは正常に動作します。しかし、commandButtonを実行してもアクションは起こりません。構文がありませんか?Primefaces commandLinkは動作しますが、commandButtonは動作しません。
<p:commandLink value="Submit" action="#{beanController.getStr(strSearch)}" ajax="false"/>
<p:commandButton value="Submit" actionListener="#{beanController.getStr(strSearch)}" ajax="false"/>
意味しますか?もしそうなら、 'commandButton'で' actionListener'の代わりに 'action'を使うつもりでしたか? – PDStat
ありがとう、それはそうだった。それは今働く。 – Moe