Top "Managed-bean" questions

"Managed bean" is a Java EE specific term for Javabean classes which are designed to act as a controller in some MVC application.

javax.el.PropertyNotFoundException: The class 'xxx' does not have a readable property 'yyy'

I've the below session scoped CDI managed bean: @Named @SessionScoped public class RegisterController implements Serializable { private static final long serialVersionUID = 1…

jsf el managed-bean propertynotfoundexception
Access session scoped JSF managed bean in web filter

I have SessionScoped bean called userSession to keep track of the user ( username, ifLogged, etc). I want to filter some …

jsf servlet-filters managed-bean session-scope
Refresh managed session bean in JSF 2.0

After I commit some data into the database I want my session beans to automatically refresh themselves to reflect the …

jsf javabeans managed-bean session-bean
How to reference JSF managed beans which are provided in a JAR file?

I have a WAR file with the following structure: The JSF managed bean BusinessObjectTypeListController is located in commons-web-1.0.jar in /…

java jakarta-ee jsf-2 jar managed-bean
How does JSF find beans annotated with @ManagedBean?

As far as I know, for using @Annotations (or [Attributes] in C#) you have to have a reference to the …

java annotations jsf-2 managed-bean
<p:fileUpload> always give me null contents

I'm trying to get working like what is documented in the primefaces user guide, and some posts founded there. Upload …

java jsf file-upload primefaces managed-bean
How to register a JSF managed bean programmatically?

I'd like to register/add a Managed Bean class programmatically (from within a Servlet init()) into application scope. How can …

java jsf servlets managed-bean
Passing data between managed components in JSF

Is it actually possible to pass any data between managed components in JSF? If yes, how to achieve this? Could …

jsf parameter-passing managed-bean
What is a managed bean and how many should I use per page?

I am working on a Web-application using JavaServer Faces. I have found many examples and tutorials on how to use …

jsf architecture managed-bean
@ManagedProperty throws javax.el.ELException: Cannot convert bean of type class java.lang.String to class com.example.Bean

I'm injecting a managed bean as managed property of another managed bean. package com.books.beans; import javax.faces.bean.…

jsf el managed-bean managed-property