5 Replies Latest reply on Jun 28, 2006 4:57 PM by gavin.king

    Access page outside of pageflow

    cool_raj

      I have JSF application that contains many wizards. We have rolled our own workflow management framework that manages the state from
      page to page.

      I have read the Seam documentation and it appears to meet most of
      our requirements and is cleaner and more flexible than our homegrown framework.

      One of our requirements is to popup a javascript alert when the user navigates out of the defined pageflow and destroy the conversation.
      Is this possible with Seam?

      Raj

        • 1. Re: Access page outside of pageflow
          gavin.king

          Define "navigates". Clicking a link? backbutton? what?

          • 2. Re: Access page outside of pageflow
            cool_raj

            We have a menubar at the top of our pages. So in a multi step
            wizard the user could have completed several pages and then
            they click on a menu item that would cause them to go to a page
            that is not a part of the defined workflow.

            Our requirement is to ask the user(with javascript alert) if they really want to do this, if they say no we take them back to the last completed page in their workflow. In effect, ensuring that there is only one "conversation" at any given time.

            • 3. Re: Access page outside of pageflow
              gavin.king

              Yeah, I think that's straighforward to implement.

              Seems like the opposite of what the user really wants though ... have you demonstrated Seam workspace management to the users, and asked them if maybe they would prefer that?

              • 4. Re: Access page outside of pageflow
                cool_raj

                I agree that multiple conversations might be a good route to go, however I like to have all my bases covered.

                Is there an extension point in the Seam framework where I could insert this behaviour?

                • 5. Re: Access page outside of pageflow
                  gavin.king

                  You would basically just code it into javascript in your UI. No special integration with Seam would be needed.