Is there any way to get direct URL to a JSF bean action method?
Basically I want to be able to do the following:
<a href="/PA/faces/pageBeanAction">click</a>
And this should invoke a method in a JSF bean. Is it possible?
I’m using JSF 1.2.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do the job in the constructor of the request scoped bean associated with the view behind the URL.
As long as you’ve a
#{bean.something}in the view, then the bean’s constructor will be invoked.