5

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

Regards, Ravi Krish

bakkal
  • 54,350
  • 12
  • 131
  • 107
ravi
  • 59
  • 4
  • 7

1 Answers1

2

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

jmj
  • 237,923
  • 42
  • 401
  • 438
  • Upvoting requires at least 15 rep. The OP has currently only one. Give his question a upvote so that he at least earns 5 rep and has yet only 10 to go :) – BalusC Aug 27 '10 at 11:52
  • :) Not a bad choice, But If its the case you should have given :) So let me wait until he accept this as answer. – jmj Aug 27 '10 at 12:04
  • Another option to consider could be PrimeFaces and it's remote command http://www.primefaces.org/showcase/ui/remoteCommand.jsf – JanM Mar 28 '14 at 14:36