Try this:

 

FacesContext.getCurrentInstance().getApplication().createValueBinding("#
{ManagedBeanName} ").setValue(FacesContext.getCurrentInstance(), null);

 

 

________________________________

From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] 
Sent: 5 dicembre 2006 16.26
To: [email protected]
Subject: Beans in session scope lifecycle

 

Hello,

I have a wizard flow that utilizes a backing bean in session scope...if
a user should cancel out of the wizard at any point, is there a way to
reset the backing bean and its properties??? Or better yet, is there a
way to completely remove the bean from the session so that next time the
user enters the wizard, it's instantiated again???

 

Thx,
Charbel

 

 

 



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

Reply via email to