1 Reply Latest reply on Jun 19, 2007 5:05 AM by Pete Muir

    Pageflow action state

    Markus Wolf Newbie

      Hi,

      is there something like a pageflow action state? I need a state where I could end the current conversation and not the pageflow and afterwards execute another method.

      My usecase is the following: when a new user registers at our service he should be logged in automatically. The pageflow must end before this automatic login, because the current transaction must be commited to have the user visible in db for the seam identity.login action method.

      Is there any other solution for this?

        • 1. Re: Pageflow action state
          Pete Muir Master

           

          "KnisterPeter" wrote:
          is there something like a pageflow action state? I need a state where I could end the current conversation and not the pageflow and afterwards execute another method.


          No, a conversation and a pageflow are the same length

          My usecase is the following: when a new user registers at our service he should be logged in automatically. The pageflow must end before this automatic login, because the current transaction must be commited to have the user visible in db for the seam identity.login action method.


          I don't see why these two things are related (transaction commiting, pageflow ending). Call em.flush(), call identity.login(), then end the pageflow, transitioning to the users home page.