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