This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JSF
Bookmark "Call a backing bean Watch "Call a backing bean New topic
Author

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
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Daniel Amadei
Ranch Hand

Joined: Mar 29, 2005
Posts: 94
Hi!

<h:commandLink>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call a backing bean's method through href