Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invoke Backing bean method from JavaScript + JSF [duplicate]

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

Regards, Ravi Krish

like image 918
ravi Avatar asked Nov 05 '22 09:11

ravi


1 Answers

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

like image 56
jmj Avatar answered Nov 11 '22 04:11

jmj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!