Hi,
How to access a managed bean from a different class. say we have a managed bean class entry like this:
<managed-bean>
<managed-bean-name>loginController</managed-bean-name>
<managed-bean-class>LoginController</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
I want to access this loginController instance from another class, say from ChangeUserPasswordConroller, and access the bean properties which have been previously set.
To be more precise..
LoginController has a property called userID.. how do I get this userID from ChangeUserPasswordController class?
Thanks