Top "Jsf" questions

JSF, Jakarta Server Faces (formerly known as JavaServer Faces) is a model-view-presenter framework typically used to create HTML form based web applications.

Difference between View and Request scope in managed beans

What does the view scope mean? Can anyone explain about it, so that I can understand how it differs from …

jsf jsf-2
How do you pass view parameters when navigating from an action in JSF2?

From an action in my bean, I'm trying to redirect to another page expecting a view parameter. What is the …

jsf jsf-2
Find component by ID in JSF

I want to find some UIComponent from managed bean by the id that I have provided. I have written the …

jsf jsf-2 primefaces uicomponents
Why JSF calls getters multiple times

Let's say I specify an outputText component like this: <h:outputText value="#{ManagedBean.someProperty}"/> If I print a …

performance jsf el getter
When to use valueChangeListener or f:ajax listener?

What's the difference between the following two pieces of code - with regards to listener placement? <h:selectOneMenu ...> &…

ajax jsf jsf-2 listener valuechangelistener
JSF 2.0 File upload

I am looking around a few blogs, to try to find how to upload files using JSF 2.0 But all the …

jsf file-upload jsf-2
Spring MVC vs JSF

I haved used Struts framework in all my past applications and for the new application,my client has requested to …

java jsf spring-mvc
Migrating from JSF 1.2 to JSF 2.0

I am working with a rather large app written in JSF 1.2. JSF 1.2 is around 6 years old now. I need to …

java jsf migration jsf-2
Calling Primefaces dialog box from Managed Bean function

Hi I have a managed bean with some functions , based on some condition in that function I will like to …

jsf primefaces modal-dialog managed-bean
How to get both label and value from f:selectItems

I am working on a JSF page which has a dropdown based on List<SelectItem>: <h:selectOneMenu …

jsf label selectonemenu