myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <mario.buonop...@accenture.com>
Subject RE: Beans in session scope lifecycle
Date Tue, 05 Dec 2006 15:33:44 GMT
Try this:

 

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

 

 

________________________________

From: Charbel Abdul-Massih [mailto:cabdulmassih@soundbite.com] 
Sent: 5 dicembre 2006 16.26
To: users@myfaces.apache.org
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.

Mime
View raw message