h:commandLink actionlistener is not invoked when used with f:ajax and ui:repeat

后端 未结 1 868
礼貌的吻别
礼貌的吻别 2021-01-14 09:51

h:commandLink actionlistener is not invoked when used with f:ajax and ui:repeat When I click the link, I have to pass a parameter in the bean\'s \"onload\" method and refres

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

    As per the comments:

    @BalusC Its javascript issue. Thanks for directing me to look at the javascript console. JS error "Uncaught ReferenceError: mojarra is not defined"

    Make sure that you've a <h:head> tag in your master template instead of <head>. This way JSF will be able to auto-include the necessary JavaScript file for the Ajax magic.

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