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.

Pass input text value to bean method without binding input value to bean property

Can I pass a input text field value to a bean method without binding the value to a bean property? &…

jsf parameter-passing managed-bean
How to invalidate session in JSF 2.0?

What is the best possible way to invalidate session within a JSF 2.0 application? I know JSF itself does not handle …

session jsf-2 httpsession managed-bean session-scope
Difference between managed bean and backing bean

I came across the terms "managed bean" and "backing bean" in several forums. Many people think both are the same. …

jsf javabeans managed-bean backing-beans
How can I get a message bundle string from inside a managed bean?

I would like to be able to retrieve a string from a message bundle from inside a JSF 2 managed bean. …

jsf jsf-2 managed-bean message-bundle
ViewParam vs @ManagedProperty(value = "#{param.id}")

What is the difference between defining View Params like this: <f:metadata> <f:viewParam name="id" value="#{…

jsf jsf-2 managed-bean viewparams managed-property
Java EE 6: Target Unreachable, identifier 'helloBean' resolved to null

I am trying to get a simple JSF 2 tutorial example to work. I am using the dynamic web project in …

java jakarta-ee jsf-2 java-ee-6 managed-bean
How to send form input values and invoke a method in JSF bean

I am building a JSF application. I defined the GUI and did the select statements query the database using select. …

jsf input submit facelets managed-bean
How do I process GET query string URL parameters in backing bean on page load?

I've read how to send parameters using JSF but what if the user types their companyId in the URL when …

jsf jsf-2 query-string managed-bean http-request-parameters
How to redirect from a ManagedBean for when the request sent is an Ajax request?

I am using PrimeFaces with JSF2. I am trying to authenticate user by sending login and password as an Ajax …

ajax jsf-2 navigation primefaces managed-bean