Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to clear the Managed Bean Values prior to load a JSF page

843842Jun 2 2004 — edited Jan 3 2005
Hello.

I have a jsf page that contains fields that need to be cleared BEFORE the page is loaded.
My managed bean where the fields are linked (I�m using the value attribute) is in the SESSION scope because I need to control they values across a popup window and if I use request scope, my vectors that load objects like dataTable are cleared when I post the form.

My question is :
How I CLEAR all the values in the managed bean BEFORE the page is loaded ???
In the WebForms (Microsoft .NET) I have an method on the codebehind called Page_Load where I put my initialization code for my page.

Thanks in advance.
Rog�rio
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 31 2005
Added on Jun 2 2004
10 comments
640 views