1. JSF - Set multiple values on @ManagedProperty in a single bean stackoverflow.comI need to set 2 different ManagedProperty on the same bean. So i tried :
|
2. @ManagedProperty(value = "#{param.id}") in a non-request Scope Bean stackoverflow.comI need to pass a parameter (POST) to a @managedBean, I used managed properties like this:
And the scope of the Bean is ViewScope
I end up with this ... |
3. ViewParam vs @ManagedProperty(value = "#{param.id}") stackoverflow.comWhat is the difference between defining View Params like this:
And defining the property in the ManagedBean like this:
Thanks in advance
|
4. How to inject entire managed bean via @ManagedProperty annotation? stackoverflow.comI'm trying to inject entire JSF managed bean into another managed bean by means of |
5. JSF 2 ManagedProperty injection of bean from dependency jar stackoverflow.comI'm trying to get a ManagedProperty injection working, where the injected bean resides in a jar included in my web application. Bean to be injected:
|
6. Trouble using ManagedProperty stackoverflow.comI'm trying to share an object between several SessionScoped beans. I get errors though and I really don't know why.
I believe that this is the right syntax, but any ... |
7. @ManagedProperty - Inject one request scoped bean into another request scoped bean stackoverflow.comI have this SearchBean:
|
8. ManagedProperty not injected in @FacesConverter stackoverflow.comI'm trying to inject a ManagedBean in my FacesConverted the following way:
|
9. Retrieving updated value via @ManagedProperty / notifying other beans of updated value of a property stackoverflow.comI have a |
10. How to reference Java Collection entry from JSF 2 ManagedProperty? stackoverflow.comI have an application that has a bean that holds a list of Contacts which are referenced from various domain objects throughout the application:
|
11. How to inject different subclasses as ManagedProperty JSF 2? stackoverflow.comI'm new to JSF and I'm wondering if it's possible to inject different subclasses of a base class as a MangedProperty, depending on different situations? For instance, I have this managed ... |
12. JSF2 Can't reach SessionScoped bean from ViewScoped as ManagedProperty stackoverflow.comI have a strange problem. Afaik I can inject a SessionScoped bean into a viewscoped, because its broader, than the other. Here is my code:
|
13. Instantiate a ManagedBean (declared as @ManagedProperty) before using inside another ManagedBean stackoverflow.comI am using a |
14. ViewScoped bean using ManagedProperty coderanch.com |