开发者

Invoke Backing bean method from JavaScript + JSF [duplicate]

开发者 https://www.devze.com 2023-01-13 14:45 出处:网络
This question already has an answer here: How to invoke a JSF managed bean on a HTML DOM event using native JavaScript?
This question already has an answer here: How to invoke a JSF managed bean on a HTML DOM event using native JavaScript? 开发者_运维技巧 (1 answer) Closed 2 years ago.

I want to invoke backing bean method from javascript function in JSF. Please could you guide me how to achive this.

Regards, Ravi Krish


Since, Backing bean method id Server side so you need to make request to server better way for your case would be

  1. Richfaces JSFunction , Live Demo Link

  2. Ajax4JSF

0

精彩评论

暂无评论...
验证码 换一张
取 消