8 Replies Latest reply on Apr 27, 2009 7:31 AM by Shantanu Upadhyaya

    Proper use of keepAlive

    Michal Glowacki Novice

      Hi

      I was wondering how to use keepAlive in proper way, because I think I do this wrong. Let's say I am at the page where I can manage my account. I have a "account bean", which holds values like id, owner etc. On this page I have few ajax buttons to change those values. Every time I change something I read from this bean, which is request one with keepAlive. Works ok when I am at the page, but I thought my bean will loose values when I leave the page - it is not this way. When I go back to this page, the bean is already set with those old values.

      Could anyone explain me how to use properly then?

      Michal