3 Replies Latest reply on Jul 20, 2006 8:14 PM by gavin.king

    "pageflow has not yet started" when starting a pageflow

    jasperbg

      I have a pageflow with this as the first node:

      <start-page name="displayJoinForm" view-id="/members/join.xhtml">
       <redirect/>
       <transition name="submitJoinForm" to="processJoin">
       <action expression="#{join.process}"/>
       </transition>
      </start-page>


      I link to it from the homepage of my site with this:

      <s:link view="/members/join.xhtml" propagation="begin" pageflow="JoinFormPageFlow" value="Join Album"/>


      (/members/join.xhtml is the join form)

      The join form appears fine, but submitting it causes the exception "pageflow has not yet started".

        • 1. Re:
          jasperbg

          This seems to have been solved by adding:

          <page view-id="/members/join.xhtml" action="#{conversation.begin}"/>


          to my pages.xml. Why is this necessary? Shouldn't the 'propagation="begin"' on the <s:link> tag do this?

          • 2. Re:
            gavin.king

            Could you please file a bug in JIRA and attack a very simple, runnable testcase. Thanks.

            • 3. Re:
              gavin.king

              Um. Before you do that, however, can you see what happens if you use <start-node> instead of <start-page>? Thanks.

              (I feel that it should by rights be a <start-page>, but lets just check if this is the cause.)