5 Replies Latest reply on Aug 30, 2011 8:23 PM by Konami -

    Destroy (End) Conversation if the user leaving a specified page

    Ralf H. Newbie

      Hello,


      i use h:outputLink without the propagation of the ConversationID.


      Now i hava a page, where the user can edit a Entity (with some ajax actions on the Bean which handles the entity) ... and, if he want to, navigate to another page (without saving the entity). In this case i assume, the user rejects the changes he made. But if the user visits the same entity again, the edited information (from the conversation before) are visible and were persisted.


      Is there any way to destroy (End) the existing conversation, if the user clicks a h:outputlink???


      I use PersistenceContext.EXTENDED.


      Thanks in advance,


      Ralf