3 Replies Latest reply on Jul 9, 2010 4:46 AM by Francois Lagoueyte

    basic jpdl-pageflow problem

    Piet Miller Newbie

      Hi all,

      I got a pretty basic problem with my jpdl test-pageflow. The problem is, that it just won't work :).
      That means, when I click on my Button - this one...

      <h:commandButton id="buttonID" action="nextstep" value="next step"/>

      (from startpage.xhtml in the view directory)

      ...it loads for a moment but just stays on the same page.

      I will now write you everything I did - step by step:

      First I created a project-skeleton with seam-gen. The project will be deployed on a JBoss 5.1 AS.

      Then I created a pageflow.jpdl.xml in the resources folder:

      <pageflow-definition xmlns="http://jboss.com/products/seam/pageflow"
      xsi:schemaLocation=http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-2.2.xsd"
          <start-page name="startpage" view-id="/startpage.xhtml" back="disabled">
              <transition name="nextstep" to="next"></transition>
          <page name="nextstep" view-id="/done.xhtml">

      (The done.xhtml also exists)

      Next I wrote this in the component.xml:

         <!-- For use with jBPM pageflow or process management -->

      ...wrote this in the pages.xml:

      <page view-id="/startpage.xhtml">
          <begin-conversation join="true" pageflow="testPageFlow"/>

      I did nothing else...
      Did I miss anything?
      Did I put some files in wrong folders?

      I would really appreciate your help!