does not initiate a postback

后端 未结 1 1606
陌清茗
陌清茗 2021-01-14 09:16

I am using JSF 2.1.7 and Myfaces CODI 1.0.5 on JBoss AS 7.1.1. My is not working. I have read the requirements and have through examples

相关标签:
1条回答
  • 2021-01-14 10:00

    You need to remove type="button" from the <h:commandButton>. It should have been type="submit", which is the default already.

    The type="button" makes it an <input type="button"> instead of <input type="submit"> which is only useful for client side handlers which you usually attach using onclick and so on.

    0 讨论(0)
提交回复
热议问题