2 Replies Latest reply on Jan 15, 2010 3:22 PM by Hannes Visagie

    Restore Bean state

    Hannes Visagie Newbie

      Hi All


      I submit a page, the code in the bean writes to the database and then it redirects me to another page, the new page asks if I want to submit another request.


      If I say yes, it redirects me back to the orignal page.


      The redirection works fine, but I want to restore the page to it's original state for the new request.


      What is the best way of doing this, of restoring the state of the bean so that it's like new