Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Access managed bean from a servlet
Forcing the form submission
Calling webservice in Seam
validation of more than one field (e.g. password verification)
button or link action not executed inside dataTable