I found the cause of problems. It wasn’t Myfaces after all. It got something to do with hibernate auto-flushing in conjunction with the long session pattern. Once I turned it off everything works fine.

 

Regards,

Yee

 


From: Yee CN [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 26 October 2005 1:19 AM
To: 'MyFaces Discussion'
Subject: How to handle double posting problems

 

Hi,

 

I am new to jsf and just beginning to put together some pages. I am playing with a form that has an event listener on a selection list, the form refreshes depending on the selection. I discovered that if I click too fast jsf will throw the following exception:

 

01:07:42,794 ERROR [FacesServlet]:253 - Servlet.service() for servlet FacesServlet threw exception

javax.faces.el.EvaluationException: Cannot get value for _expression_ '#{userBean.userIdsList}'

 

What is the best way to handle this situation?

 

Many thanks in advance.

 

Yee

Reply via email to