A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
JSF- Getting bean name from the ActionEvent
Joined: Oct 07, 2009
Oct 07, 2009 12:11:50
I have created a custom action listener(class implementing action listener) and many
form use this common action listener
It is possible that to get the bean name from the action event?
Joined: Sep 21, 2008
Oct 07, 2009 13:07:37
No, the action event is fired when you perform an action on a component.
Hence the event will give you information only about the component that fired it, the bean has nothing to do with it.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JSF- Getting bean name from the ActionEvent
How to ActionListener manually in custom renderer?
In Rich Faces rich:panelMenu a4j:commandButton action not called
FacesContext is null inside managed bean
Error: Target Unreachable, identifier 'StoreNameBean' resolved to null
Specific method for bean JSF!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015