2 Replies Latest reply on Jan 11, 2007 12:33 PM by Torsten Fink

    Newbie question: jBPM-processes and pageflows in one Seam ap

    Torsten Fink Newbie

      Hi,

      I am currently evaluating Seam und try to use jBPM processes and Seam pageflows. I got the jBPM processes working using Seam annotations and standard context objects.

      Now I try to use pageflow for navigation. I looked at the numberguess example and tried to port it to my application.

      The problem now is that no pageflow is started at all, when I navigate to a page. There is also no error message.

      The only error I notice is a warning from jBPM when deploying the pageflow process:

      13:24:30,313 DEBUG [Jbpm] deploying process definition : ReisekostenAbrechnung
      13:24:32,586 WARN [FromElementType] Using non-qualified column reference [id -> ([ID_])]
      13:24:32,590 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      13:24:32,590 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      13:24:32,626 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      13:24:32,627 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      13:24:32,637 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      13:24:32,637 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      13:24:32,651 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      13:24:32,652 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      13:24:32,692 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
      13:24:32,738 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      

      This does not happen in the numberGuess-example.

      This is my pages.xml:
      <pages>
       <page view-id="/all/main.seam">
       <begin-conversation join="true" pageflow="reisekostenPageFlow"/>
       </page>
      </pages>
      

      This is the definition of the pageflows in components.xml:
       <component class="org.jboss.seam.core.Jbpm">
       <property name="processDefinitions">
       ...
       </property>
       <property name="pageflowDefinitions">
       <value>
       pageflow.jpdl.xml
       </value>
       </property>
       </component>
      

      And this finally the page flow:
      <?xml version="1.0" encoding="UTF-8"?>
      <pageflow-definition name="reisekostenPageFlow">
       <start-page name="Hauptseite" view-id="/all/main.seam">
       <redirect/>
       <transition name="editBelegliste" to="BearbeiteBelegliste">
       </transition>
       <transition name="neuerReisekostenantrag" to="BearbeiteBelegliste">
       <action expression="#{reisekostenprozessVerwaltung.createReisekostenProzess}" />
       </transition>
       </start-page>
       <page name="BearbeiteBelegliste" view-id="/user/rkneu.seam">
       <redirect/>
       <transition name="fertig" to="Hauptseite"/>
       </page>
      </pageflow-definition>
      


      I do a redirect from the index.html directly to the /all/main.seam page and nothing happens.

      Anyone any ideas?

      -- Torsten