File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Call a backing bean's method through href Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Call a backing bean Watch "Call a backing bean New topic

Call a backing bean's method through href

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi guys! I want to be able to call a backing bean's method through an anchor tag. For example, I have a backing bean named loginManager and it has a method called logout. How would I be able to call that through an href? Which JSF component should I use? Thanks!

SCJP 1.5 -
Daniel Amadei
Ranch Hand

Joined: Mar 29, 2005
Posts: 94

I agree. Here's the link:
subject: Call a backing bean's method through href
Similar Threads
Forcing the form submission
Calling webservice in Seam
button or link action not executed inside dataTable
Access managed bean from a servlet
validation of more than one field (e.g. password verification)