Managed property is mechanism of injecting managed bean into the property of another managed bean, by using @ManagedProperty annotation
Questions tagged [managed-property]
66 questions
0
votes
0 answers
How to make Database Bean a Managed Property
How do I add this Database class which is in another Java project(added as dependency to Dynamic web application) as a Managed Property ?
import java.sql.Connection;
import org.h2.jdbcx.JdbcConnectionPool;
import java.sql.SQLException;
public…

FiendFyre
- 157
- 3
- 17
0
votes
1 answer
JSF 2 FacesConverter ManagedProperty not found
I use Apache myfaces 2.0 with Primefaces 3.5 on WebSphere Application Server 8.
I have a ApplicationConverter and a ManagedBean which contains a List of Applications (Class).
The Converter looks like:
@ManagedBean
@RequestScoped
public class…

veote
- 1,400
- 9
- 33
- 62
0
votes
1 answer
ManagedBeanCreationException: cannot set property for managed bean with ManagedProperty
i get this error : "com.sun.faces.mgbean.ManagedBeanCreationException: No se puede definir la propiedad procesos para el bean administrado procesos" when i run my web app. Roughly translated "cannot define property procesos for the managed property…

user1462933
- 1,179
- 2
- 12
- 24
0
votes
1 answer
jsf 2 managedproperty annotation and parameters
I'm using JSF 2 and Sprig 3, and I want to migrate from using faces-config.xml to annotations.
old one : faces-config.xml :
banqueBean
…

faissal
- 261
- 5
- 20
0
votes
2 answers
Accessing session bean data in constructor of JSF managed bean
I am trying to access the session bean data in the managed bean constructor. For that purpose I am using @ManagedProperty annotation as below. When I try to access in constructor it gives java.lang.NullPointerException and the same piece of code is…

SXV
- 277
- 5
- 16
0
votes
1 answer
@ManagedProperty stays null
I'm trying to use the ManagedProperty annotation to Dependency Injection to another ManagedBean, but I always getting a NullPointerException. I will try to describe how my application works.
This is a PDF generator. First, I have xhtml page that has…

insict
- 861
- 2
- 11
- 19