2 Replies Latest reply on Sep 29, 2009 5:46 PM by Cody Lerum

    pages.xml.spdia  makes  Seam setup loop

    sasd asdsad Newbie
      I tried  to add a simple  jbpm  in my  project
      adding  in components.xml   in war/web-inf/
      "
          <bpm:jbpm>
            <bpm:pageflow-definitions>
               <value>flow.jpdl.xml</value>
            </bpm:pageflow-definitions>
          </bpm:jbpm>
      "
      using  a simple   JPDL.xml   in   war/web-inf/
      "
      <pageflow-definition
           xmlns="http://jboss.com/products/seam/pageflow"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-2.1.xsd"
           name="number">
        
         <start-page name="one" view-id="/one.xhtml">
            <redirect/>
            <transition name="next" to="two"/>
            <transition name="prev" to="home"/>
         </start-page>
        
        
         <page name="two" view-id="/two.xhtml">
            <redirect/>
            <transition name="next" to="three"/>
            <transition name="prev" to="one"/>
         </page>
         <page name="three" view-id="/three.xhtml">
            <redirect/>
            <transition name="next" to="one"/>
            <transition name="prev" to="two"/>
         </page>
        
      </pageflow-definition>
      "
      using   next and  prev  in simple  pages  displaying one two three
      nothing happens
      but somehow  a pages.xml.spdia is created  in the war/web-inf/
      then it  stops  my seam  and tries to reinstall it  .... repeteively   for ever.
      as soon as I delete  the .spdia  file  it stops looping ....
      but the  jbpm does not seem to work either.


      any suggestions  ???
          -should  the spdia  file  be  located in the  ear/war ????
          -am I forgetting things  in using  Jbpm


      thanks  for any reply