i m trying to use jbpm pageflows
my* vesselAction.jpdl.xml *file is
<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="vesselAction">
<start-page name="start-page1" view-id="/ImVesselEdit.xhtml">
<transition name="persist" to="error">
<action expression="#{vesselAction.persist}" />
</transition>
<transition name="cancel" to="error" />
</start-page>
<page name="error" view-id="/error.xhtml">
<redirect />
</page>
</pageflow-definition>
* My VesselAction.xhtml is *
<h:commandButton id="save" value="Save" action="persist" />
<s:button id="cancel" value="Cancel" action="cancel" propagation="end"/>
* My VesselAction.java is *
@Begin(join = true,pageflow="vesselAction")
public boolean persist() {}
*component.xml *
<bpm:jbpm>
<bpm:pageflow-definitions>
<value>vesselAction.jpdl.xml</value>
</bpm:pageflow-definitions>
</bpm:jbpm>
This is the way i have configured but the page is not navigating when i click the button.
any suggestions plz.....
thnks in advance