@ManagedProperty is not working in a managedbean |
I can not say why it is not supported, but I can give you a workaround, how you can access another ManagedBean in a ManagedBean or other Java Code:
The Bean which we access could look like this:
Here an MyFaces example/explanation how it should work: https://myfaces.apache.org/wiki/core/user-guide/jsf-and-myfaces-howtos/backend/accessing-one-managed-bean-from-another.html |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 08.04.2015 at 08:57
Seen: 4,932 times
Last updated: 08.04.2015 at 09:40