Top "Jsf-2" questions

JavaServer Faces (JSF) is a model-view-presenter framework typically used to create web applications.

org.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs)

I have a hibernate and JSF2 application going to the deployment server and suddenly throwing an org.hibernate.AssertionFailure: null …

mysql windows hibernate jsf-2 jboss
PrimeFaces commandButton doesn't navigate or update

I'am using Primefaces to make my app a little bit more beautiful. I noticed that p:commandButton and h:commandButton …

jsf jsf-2 primefaces
How to trigger component refresh from javascript in primefaces?

Is it possible to update a PrimeFaces component from javascript so that it would be force to refresh? I am …

jsf jsf-2 primefaces
How to handle session expiration and ViewExpiredException in JSF 2?

Consider the following scenario. I am clicking the submit button of a JSF form, after the session has timed out(…

jsf jsf-2 session-timeout viewexpiredexception
What is the use of faces-config.xml in JSF 2?

After the JSF 2 big support for annotations, I'm wondering what I would use the faces-config.xml for. What is its …

jsf jsf-2 faces-config
What are the main disadvantages of Java Server Faces 2.0?

Yesterday I saw a presentation on Java Server Faces 2.0 which looked truly impressive, even though I am currently a happy …

asp.net-mvc jsf jsf-2
Displaying a number in 2 point decimal format in jsf

I am using JSF 2 and RichFaces 3. Here in the picture shown below, numbers are being displayed as what they are …

java jsf-2 richfaces converter
Primefaces dialog + commandButton

I'm trying to use primefaces <p:dialog> combined with <p:commandButton>. In my .xhtml page I …

jsf-2 dialog primefaces commandbutton
Backing beans (@ManagedBean) or CDI Beans (@Named)?

I've just started reading through Core JavaServer Faces, 3rd Ed. and they say this (emphasis mine): It is a historical …

jsf jakarta-ee jsf-2 cdi
When to use f:viewAction / preRenderView versus PostConstruct?

When should one use the f:viewAction or preRenderView event to initialize data for a page versus using the @PostConstruct …

jsf jsf-2 postconstruct prerenderview viewaction