A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
subject: JSF- Getting bean name from the ActionEvent
How to ActionListener manually in custom renderer?
Specific method for bean JSF!
In Rich Faces rich:panelMenu a4j:commandButton action not called
Error: Target Unreachable, identifier 'StoreNameBean' resolved to null
FacesContext is null inside managed bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014