1 Reply Latest reply on Oct 15, 2008 2:02 PM by Veljko Vujcic

    Ending conversation - expected behavior?

    Veljko Vujcic Newbie


      i have ran into a situation that confuses me: user begins the use-case, long running conversation is started, some kind of business is done and user hits submit. now, last lines of the code are:

      em.flush(); // seam-managed pc, manual flush mode
      destroy(); // annotated with @End @Remove @Destroy

      and user is redirected. however, if i hit back button and submit again same persistence context is inherited, same instance of conversation bean is used and entities are updated. isn't this a place for NoConversationException?