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

0

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

3 Comments

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 :)
:) Not a bad choice, But If its the case you should have given :) So let me wait until he accept this as answer.
Another option to consider could be PrimeFaces and it's remote command primefaces.org/showcase/ui/remoteCommand.jsf

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.